Fedora Linux Support Community & Resources Center
Old 5th February 2012, 09:46 AM
MrZalib Offline
Registered User
Join Date: Jun 2011
Posts: 52
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
Old 5th February 2012, 10:35 AM
errorxp Offline
Registered User
Join Date: Jul 2007
Posts: 371
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
Old 6th February 2012, 04:49 AM
07CobaltGirl Offline
Registered User
Join Date: Dec 2008
Posts: 55
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 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 04:57 AM.
Reply With Quote
Old 6th February 2012, 05:21 AM
cazo Offline
Registered User
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 388
Re: Port forwarding setup

Another good place is:
Reply With Quote

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: 16:34 (Friday, 18-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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