LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 04-09-2005, 03:08 PM   #1
scott847
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Trying to host game server behind router


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.
 
Old 04-09-2005, 04:48 PM   #2
squisher
Member
 
Registered: Apr 2005
Location: Abq, NM
Distribution: Debian, Ubuntu
Posts: 40

Rep: Reputation: 15
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?
 
Old 04-09-2005, 04:56 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't host server with firewall, but can with router, could use help please calimer Linux - Software 2 03-01-2005 10:15 PM
Router Virtual Host Problem E-Oreo Linux - Networking 1 09-15-2004 08:17 AM
game not receving game list from master server Rnastyracer Linux - Games 2 04-02-2004 11:20 PM
Linksys Router and host not found dbeyes Linux - Networking 3 10-17-2003 11:26 PM
Turn a host pc into a simple router ? cmisip Linux - Networking 4 07-03-2003 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:00 PM.

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