Re: Tribes 2 server behind NAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

George I believe your mail server is blocking mine so I'm replying to the 
list.

Well I've tried changing the server's IP to 192.168.0.7 and routing through 
that since my NAT box has IPs on both 192.168.0.x and 192.168.4.x, but now 
the server isn't showing up at all.  I've updated the port forwarding rules 
to match.

Mike

On Thursday 20 November 2003 05:53 pm, George Vieira wrote:
> Err... doesn't the "-d ! 192.168.4.0/24" mean that 192.168.4.7 isn't
> masqueraded then?
>
> Thanks,
> ____________________________________________
> George Vieira
> Systems Manager
> georgev@xxxxxxxxxxxxxxxxxxxxxx
>
> Citadel Computer Systems Pty Ltd
> http://www.citadelcomputer.com.au
>
> Phone   : +61 2 9955 2644
> HelpDesk: +61 2 9955 2698
>
> > -----Original Message-----
> > From: Mike McLean [mailto:libolt@xxxxxxxxxx]
> > Sent: Friday, 21 November 2003 11:43 AM
> > To: netfilter@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: Tribes 2 server behind NAT
> >
> >
> > 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
> >
> > On Thursday 20 November 2003 05:21 pm, you wrote:
> > > Are you masquerading that server to the internet? It'll need it..
> > >
> > > also, you logging any dropped packets?
> > >
> > > Thanks,
> > > ____________________________________________
> > > George Vieira
> > > Systems Manager
> > > georgev@xxxxxxxxxxxxxxxxxxxxxx
> > >
> > > Citadel Computer Systems Pty Ltd
> > > http://www.citadelcomputer.com.au
> > >
> > > Phone   : +61 2 9955 2644
> > > HelpDesk: +61 2 9955 2698
> > >
> > > > -----Original Message-----
> > > > From: Mike McLean [mailto:libolt@xxxxxxxxxx]
> > > > Sent: Friday, 21 November 2003 11:13 AM
> > > > To: netfilter@xxxxxxxxxxxxxxxxxxx
> > > > 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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux