LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2007, 07:44 PM   #1
nirj
Member
 
Registered: Feb 2005
Posts: 42

Rep: Reputation: 15
Port Forwarding for Linux Server


Hello everyone,

This is how my home network works:

I have a gateway PC running Windows XP that has two ethernet cards installed. One faces the internet and the other card faces the home network (this one's IP is always 192.168.0.1). From there, other PCs running both Windows and Linux are connected to the gateway through a series of ethernet switches.

My question:

On one of the PCs running Linux I am running a web server on port 80, however, I can't access it from anywhere outside my home network. I tried making an exception in the gateway's firewall (Windows Firewall on XP SP2) and adding a service to the ethernet card facing the network that uses the hostname of my server, internal port 80 and external port 80, but with no luck. Does anyone know what I'm doing wrong/What I forgot to do/What I should be doing/Any other useful info?

Thanks in advance,
Nir
 
Old 09-29-2007, 10:45 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
This isn't a Linux issue, as far as I can tell from your description. You have to set up port forwarding in Windows ICS (Internet Connection Sharing, as an admin).
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Port forwarding from Ubuntu 5.10 server czk101 Linux - Networking 2 01-27-2006 08:16 PM
port forwarding via web server nerd32768 Linux - Networking 1 09-21-2005 01:21 PM
SoF2 Linux Server and Port Forwarding adskiremote Linux - Games 0 07-30-2004 04:15 AM
Slackware 9.0 port forwarding UT2004 server lord_emperor Linux - Networking 6 07-05-2004 02:22 PM
Server doesn't work with port forwarding enables Dawyea Linux - Networking 7 06-19-2004 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration