Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.)
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.