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 am trying to setup a Return to Castle Wolfenstein: Enemy Territory deticated game server over the internet. I am behind a LinkSys WRT54GS wireless router. I have all the ports for the game on forward. The server is not ment to be over LAN its ment to run over the internet so anyone can join yet when I run it the IP appears as the default 192.168.1.100 and that obviously isnt my WAN (internet) IP. I also had a friend try and join on his own computer and internet connection and he couldnt. Is there a way so I can host the server behind the router and have people beable to join by typing in my WAN IP? I am running the server on Slackware Linux but I am almost positive that wouldnt affect this.
It is perfectly normal and OK that you connect with the internal IP - afterall, you are connected from your internal network and not from the Internet. That is not a problem.
However, your friend should be able to connect if you have setup the IP forwarding correctly. Try looking into the logs of the router, maybe packages get rejected? Maybe there is another port that you need to open?
Maybe it shows my lack of imagination but I don't see how it's possible. You can't use 192.168.1.100 as your address out on the internet as numbers that start 192.168 are reserved for use on local area networks. Your router will have been given a unique IP address when you dialed up your ISP but you can't use that because the router isn't the server, it wouldn't know what to do with the packets. If you were using a linux PC as the gateway it may be possible to filter the packets with some clever iptables rule so that they were forwarded to the right machine, but you're asking a lot of a wireless router
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.