Skip to contentSkip to conversation

Tribes 2 server behind NAT

DISCUSSION Mike McLean 1 participant 1 message Nov 21, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I've got a tribes 2 linux server running behind a NAT gateway using iptables. I've forwarded both TCP and UDP on port 28000 to my server as follows:

iptables -t nat -A PREROUTING -i eth0 -p udp --dport 28000 -j DNAT --to 192.168.4.7:28000
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 28000 -j DNAT --to 192.168.4.7:28000

When I launch the game on another box on my local network. I see it in the server list with the private ip address 192.168.4.7. However, I have someone outside the network trying to conenct, but my game doesn't show up in the server list for them. So they are unable to connect.

I run tribes to with the following command:

tribesd2 -dedicated

Any help is appreciated,

Mike