There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
UNIX/Linux
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox format freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware motherboard mouse network networking outlook 2007 power printer problem ram router screen slow sound spyware trojan usb virus vista vista 32-bit windows windowsxp windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
Gaining Access outside Private IPS


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
linuxguru's Avatar
Junior Member with 2 posts.
 
Join Date: Jul 2002
22-Jul-2002, 04:43 PM #1
Smile Gaining Access outside Private IPS
How can someone email me through my server while i have private ips
is there a way i can dail into another linix computer and have that as a gateway to my server?

Thanks for reading my post.
edifice's Avatar
Member with 36 posts.
 
Join Date: Jul 2002
Location: Hagerstown, MD
24-Jul-2002, 01:11 PM #2
weeee
Ah, using linux as a gateway, eh!! Let the fun times begin.

You have two solutions. Do the easy thing (like I did) and buy a router with DHCP support. If you have a few windows computers running on the network as well as linux ones, this will save you some time. The router will automatically set up the ip addresses and let you enable port forwarding, which is what is needed in order for private internal ips to communicate with the outside world. The cost of my router, a linksys one, was around 72 bucks and was a quick solution to my needs.

The other solution is looking into port forwarding. Depending on what distro you decide to setup the gateway/router with, it can be difficult or hard. I would suggest using one you are comfortable with before doing so. Basically, what port forwarding does is translate your internal ips to the outside world. So, if you want to receive email on your server from a friend and you are behind a gateway, it would look something like this.

Your friend sends an email with his public ip, say 24.53.98.12 via port (just random) 4890.
The email hits your gateway. It sees it is coming from an public ip and from port 4890. Port 4890 is the established port you guys decide on using. Now, you set up port forwarding on your gateway to send any information on port 4890 to let's say the computer on your lan with the address 10.0.0.100. Since this is email, you probably want to use smtp (simple mail transfer protocol) and have any email come in on port 25 (default port for smtp). So this is what happens at the gateway. The email is delivered to your public ip via port 4890. It hits your gateway, and the gateway starts port forwarding. It takes the email with the public ip and forwards it to your box. It would look like this:

friend (24.12.45.65:4890)---> email(destination is you at say 24.90.43.87:4890) --> your gateway takes the email with its destination and look at the port, and forwards it to the right computer behind it so (24.90.43.87:4890 is forwarded to 10.0.0.100:25) which is your server. To go back out, it sends it the exact opposite way.

If by now you aren't confused, congrats! However, there are several sites that will be very helpful. I have included one below.

http://www.ox.compsoc.org.uk/~steve/portforwarding.html

To find more use google search for: port forwarding and email or port forwarding and linux, or simply just port forwarding for a better explanation on how to accomplish your goal. Good luck.
__________________
Live long and prosper.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:02 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.