LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Win2K blocks Unix webserver access (https://www.linuxquestions.org/questions/linux-networking-3/win2k-blocks-unix-webserver-access-188314/)

danheneise 06-01-2004 01:55 AM

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?

pingswept 06-01-2004 03:37 AM

Port forwarding is described on page 6-1 of the MR814 manual, found here: ftp://downloads.netgear.com/files/Fu...al_MR814v2.pdf

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 http://ethereal.com. There are versions for Windows and Linux. (Hell, try Ethereal either way-- it's sweet.)

danheneise 06-01-2004 06:17 PM

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?


All times are GMT -5. The time now is 05:27 AM.