Networking Queries (return)

Q: How do I forward my FooBillard games with iptables?

A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 56341 -j DNAT --to 192.168.0.4:56341

Q: How do I forward my FreeSpace 2 DEMO games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 7802 -j DNAT --to 192.168.0.4:7802

Q: How do I forward my FreeSpace 2 games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 7808 -j DNAT --to 192.168.0.4:7808

Q: How do I forward my Serious Sam games with iptables?

A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 25600 -j DNAT --to 192.168.0.4:25600

Q: How do I forward my Dopewars games with iptables?

A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 7902 -j DNAT --to 192.168.0.4:7902

Q: How do I forward my Kohan games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 17437 -j DNAT --to 192.168.0.4:17437
iptables -A PREROUTING -t nat -p udp -i eth1 --dport 3855 -j DNAT --to 192.168.0.4:3855

Q: How do I forward my QuakeWorld games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 27500 -j DNAT --to 192.168.0.4:27500

Q: How do I forward my regular Quake 1 games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 26000 -j DNAT --to 192.168.0.4:26000

Q: How do I forward my Quake II games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 27910 -j DNAT --to 192.168.0.4:27910

Q: How do I forward my Quake III/Return to Castle Wolfenstein games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 27960 -j DNAT --to 192.168.0.4:27960

Q: How do I forward my HexenWorld games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 26950 -j DNAT --to 192.168.0.4:26950

Q: How do I forward my Unreal Tournament games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 7777 -j DNAT --to 192.168.0.4:7777

Q: How do I forward my Sin games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 22450 -j DNAT --to 192.168.0.4:22450

Q: How do I forward my Shogo games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 27888 -j DNAT --to 192.168.0.4:27888

Q: How do I forward my Tribes 2 games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 28000 -j DNAT --to 192.168.0.4:28000
A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 28002 -j DNAT --to 192.168.0.4:28002
A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 27999 -j DNAT --to 192.168.0.4:27999
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 15104 -j DNAT --to 192.168.0.4:15104
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 15204 -j DNAT --to 192.168.0.4:15204
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 15206 -j DNAT --to 192.168.0.4:15206
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6660 -j DNAT --to 192.168.0.4:6660
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6661 -j DNAT --to 192.168.0.4:6661
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6662 -j DNAT --to 192.168.0.4:6662
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6663 -j DNAT --to 192.168.0.4:6663
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6664 -j DNAT --to 192.168.0.4:6664
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6665 -j DNAT --to 192.168.0.4:6665
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6666 -j DNAT --to 192.168.0.4:6666
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6667 -j DNAT --to 192.168.0.4:6667
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6668 -j DNAT --to 192.168.0.4:6668
A: iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 6669 -j DNAT --to 192.168.0.4:6669

Q: How do I forward my Kingpin games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 31510 -j DNAT --to 192.168.0.4:31510

Q: How do I forward my Soldier of Fortune games with iptables

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 28910 -j DNAT --to 192.168.0.4:28910

Q: How do I forward my Descent 3 games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 2092 -j DNAT --to 192.168.0.4:2092

Q: How do I forward my Andrew Henderson's Sid Meier's Alpha Centauri games with iptables?

A: iptables -A PREROUTING -t nat -p udp -i eth1 --dport 32292:32996 -j DNAT --to 192.168.0.4:32292-32296

Q: These iptables rules do not seem to work for me, any ideas as to why?

A: You will most likely have to change the IP value from 192.168.0.4 to the IP of the box on your network which is hosting the server.

Q: How do I specify a server's ip or hostmask in any Quake (1/2/3) engine game?

A: Bring down the console with ` and type connect followed by the server host name or ip.

Q: How do I specify a server's ip or hostmask in Unreal Tournament 2003/2004?

A: Bring down the console with ` and type open followed by the server host name or ip.

Q: Is there anything like GameSpy (server browsing) for Linux?

A: Yes, XQF (http://www.linuxgames.com/xqf/) which is based upon qstat (http://www.qstat.org/).

Q: Which games do and don't work networked with {Linux, Other Platforms}

A: Quake, Quake II, Quake III, Return to Castle Wolfenstein, Unreal Tournament, Tribes 2, Kohan, Civilisation: Call To Power, Heretic 2, Creatures Internet Edition, SiN, Hexen, Kingpin, TuxRacer, Terminus, America's Army, Wolfenstein: Enemy Terroritory, Unreal Tournament 2003, Unreal Tournament 2004, Neverwinter Nights, Savage and Vendetta all work fine between heterogenous clients.
A: Heroes of Might and Magic III, Sid Meier's Alpha Centauri and Railroad Tycoon 2 are believed to work only with homogenous clients/servers but if you have experience of these, please e-mail any author of the FAQ with verification either way.
A: Descent 3 always works when linux servers and clients get together. Linux and Windows works on about 50% of maps or so. If you can't connect, try a different map. The author believes that Mac and Windows behave the same in this respect... if anyone can confirm, please e-mail one of the authors.
A: Mindrover vehicles can be swapped without problems. Look in Cognitoy's (http://www.cognitoy.com/) forums for more information.
A: Soldier of Fortune can play fine with heterogenous servers/clients on LANs, but currently you can't connect using WON [the internet thing]
A: Heavy Gear II works fine once you've replaced servers.dat in ~/.loki/hg2/ with the one here: http://www.icculus.org/lgfaq/servers.dat. [Although LAN play is still fine]
A: Rune is currently only playable with other Linux clients and servers due to HumanHead releasing a patch.
A: Myth 2 works fine over TCP, but Bungie have now pulled down bungie.net. Validity of bungie.net and other similar services can be read about here: http://www.bungie.net/site/3. The Bungie.net meta-server source is now available for anyone who wants it.

Q: Why doesn't the Unreal Tournament Web Administration seem to be running?

A: You can edit ~/.loki/ut/UnrealTournament.ini, changing the section under [UWeb.WebServer] from:

Applications[0]=UTServerAdmin.UTServerAdmin
ApplicationPaths[0]=ServerAdmin
Applications[1]=UTServerAdmin.UTImageServer
ApplicationPaths[1]=images
			

to:

Applications[0]=UTServerAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=UTServerAdmin.UTImageServer
ApplicationPaths[1]=/images
			

A: Internet Explorer is broken. If you can't connect to your serveradmin with Internet Explorer, first check: are you typing http:// at the start of the URL, then fully qualifying the rest of it? You should give Internet Explorer all of the following information: http://hostname:port/ServerAdmin/. Anything less won't work.
A: Continuing the subject of Internet Explorer, if that didn't work, either install Firefox/Mozilla or use Lynx.

Q: How do I get ngWorldStats to work?

A: http://abfackeln.com/info/ut-installer.html