Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-01-2004, 01:55 AM   #1
LQ Newbie
Registered: Aug 2003
Location: SoCal
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
Win2K blocks Unix webserver access

I've seen a few posts similar to this but none of them have helped so i'll try making my own thread then...

I currently am running 2 separate computers, one being a server with Slackware 9.0, and the other with Windows 2000. I have successfully gotten ssh, samba, and apache to all run great.

My problem lies with-in getting my webpages to load. I have read something in the online manual for my MR814 Netgear router than only one computer can use a specific port at a time. I found this out after getting frusterated at my half life server not being seen, and same with my http server. It seems that whenever my Win2K computer is turned on, the linux server is not accessable from the outside world. I have proven this true by leaving my Win2K computer off and accessing my webpage fine from a neighbors house, and it loaded perfectly, but once i turn the Win2K computer back on, my server becomes blocked. Also connecting to the server through lan works perfectly, this includes ssh, samba, http, ftp, and half life

My question is this... Is there anyway to where I can have both computers on, running similar applications, and to where i could access the server by the outside ip address/DNS name whilst having my Win2k computer on?
Old 06-01-2004, 03:37 AM   #2
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
Port forwarding is described on page 6-1 of the MR814 manual, found here:

You want to set up some ports (at least port 80 for HTTP, as in the example in the manual) to be forwarded to your Linux machine, and possibly some to your Windows 2000 machine. Each port can be forwarded to only one machine.

If you already have the port forwarding set up as described in the manual, check that the two machines have different IP addresses.

If they have diffferent IP addresses, run:

tcpdump tcp port 80

as root on your Slackware box. This will print out descriptions of every tcp packet that hits port 80. You can see the packets when the Windows machine is off; this will let you know if they are getting through the router when the Windows machine is on.

If you need to see more detail on the packets, try Ethereal, found at There are versions for Windows and Linux. (Hell, try Ethereal either way-- it's sweet.)
Old 06-01-2004, 06:17 PM   #3
LQ Newbie
Registered: Aug 2003
Location: SoCal
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
I have the necessary ports forwarded to my server's 192.168.0.* address, this includes http 80, ftp 21, and Half Life 27015. I got on msn messenger on my win box and had my friend try to connect to both my dns name and my ip address. For some reason my dns decided not to work but the ip address worked only when my win2k box was totally off, and the "tcpdump tcp port 80" caught some connections being made to the server. Also the tcp command saw my win2k box when i connected through the lan ip address.

What am I missing here, why would my win2k box block out the inbound traffic to my linux server? Anyway to fix this?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
iptables blocks access to network leupi Linux - Networking 3 03-29-2005 09:23 AM
Application using sound, blocks access to soundcard for other applications?? Erik Plaggenmar Linux - Software 1 01-27-2005 11:05 AM
guarddog blocks internet access periodically stelmed Slackware 0 02-06-2004 07:44 PM
VPN blocks internet access from laptop cmisip Linux - Security 6 07-16-2003 05:33 AM
non-contiguous blocks and /home access pteren Linux - General 1 02-26-2003 07:06 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:33 AM.

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