LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 06-01-2004, 01:55 AM   #1
danheneise
LQ Newbie
 
Registered: Aug 2003
Distribution: Ubuntu
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
pingswept
Member
 
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: 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.)
 
Old 06-01-2004, 06:17 PM   #3
danheneise
LQ Newbie
 
Registered: Aug 2003
Distribution: Ubuntu
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?
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 06:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration