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,

Yeah I am masquerading with the following line:

iptables -t nat -A POSTROUTING -o eth0 -d \! 192.168.4.0/24 -j MASQUERADE

I've got it setup this way because I have a VPN setup between several locations.

I do not have logging turned on. I suppose I should enable it.

Mike

Quoted 49 lines · you

Are you masquerading that server to the internet? It'll need it..

also, you logging any dropped packets?

Thanks,
____________________________________________
George Vieira
Systems Manager
[email protected]

Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au

Phone : +61 2 9955 2644
HelpDesk: +61 2 9955 2698

Quoted 33 lines

-----Original Message-----
From: Mike McLean [mailto:[email protected]]
Sent: Friday, 21 November 2003 11:13 AM
To: [email protected]
Subject: Tribes 2 server behind NAT

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