Fedora Linux Support Community & Resources Center
  #1  
Old 5th February 2012, 08:46 AM
MrZalib Offline
Registered User
 
Join Date: Jun 2011
Posts: 52
linuxchrome
Port forwarding setup

Alright so I have a situation here and maybe someone could redirect me to an informative article somewhere about this because i've read and read and I can't seem to answer this question.

Have a private network here and looking to have services available to outside the lan. As in an external client is trying to connect.

For this port forwarding to work I know the port has to be open and the client has to know both the port and the gateway IP.

However, my question is how can you connect to a specific server on that private network? Say there are multiple computers on this network. How does the router know where to send the packets?

I had one thought that maybe when the server is set up it just automatically listens on that port so whenever a request comes in it just takes it off the routers hands right then and there although I'm not sure if that's correct or not.

Could anyone explain this further? Or point to an article that would explain this thoroughly?

Thanks in advance!! =)
Reply With Quote
  #2  
Old 5th February 2012, 09:35 AM
errorxp Offline
Registered User
 
Join Date: Jul 2007
Posts: 371
windows_7firefox
Re: Port forwarding setup

You probably mean NAT.
__________________
these command lines are like casino slot machines, every time I input commands NOTHING HAPPENS
Reply With Quote
  #3  
Old 6th February 2012, 03:49 AM
07CobaltGirl Offline
Registered User
 
Join Date: Dec 2008
Posts: 55
linuxfirefox
Re: Port forwarding setup

The simplest way to get there is to set up your router/firewall to forward the port to a specific computer. Say you open up 10.10.10.10:1028 for the purpose, then forward incoming packets bound for port 1028 to computer ABC in the internal network. It's the same way you would run a web/mail/ftp server on an internal network. Just make sure you cover the security bases on the open port or you could be in trouble.

I guess I just ran all around your question. The router and/or firewall listens on the ports designated by its configuration and forwards the packets on that port to where it is told to do so.

Here's a pretty good article on PAT and NAT from Cisco.

How NAT Works - Cisco Systems - http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094831.shtml

Last edited by 07CobaltGirl; 6th February 2012 at 03:57 AM.
Reply With Quote
  #4  
Old 6th February 2012, 04:21 AM
cazo Offline
Registered User
 
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 357
linuxchrome
Re: Port forwarding setup

Another good place is:
http://www.portforward.com/
Reply With Quote
Reply

Tags
forwarding, port, setup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup Self Port Forwarding omega151x Using Fedora 8 4th October 2010 06:38 PM
How do I setup IP port forwarding? slaquer Servers & Networking 3 11th May 2006 09:45 AM
port forwarding, not forwarding?!!! Stranger Servers & Networking 2 29th September 2005 07:53 AM


Current GMT-time: 12:07 (Thursday, 21-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat