Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mike McLean <libolt@libolt.net>
To: netfilter@lists.netfilter.org
Subject: Re: Tribes 2 server behind NAT
Date: Thu, 20 Nov 2003 17:42:44 -0700	[thread overview]
Message-ID: <200311201742.44728.libolt@libolt.net> (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

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@citadelcomputer.com.au
>
> 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@libolt.net]
> > Sent: Friday, 21 November 2003 11:13 AM
> > To: netfilter@lists.netfilter.org
> > 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



             reply	other threads:[~2003-11-21  0:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-21  0:42 Mike McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-21  0:12 Tribes 2 server behind NAT Mike McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311201742.44728.libolt@libolt.net \
    --to=libolt@libolt.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox