> I'am preparing to use iptables. I read documentations, manuals, howto's
but
> still have'nt answers for
> 1/ what internet games will work throught the iptables NAT?
As long as you don't need to run servers, just about all of them.
> 2/ what internet games will NEVER wokr throught iptables NAT ?
As per above, those that require server-like behaviour will require special
modification of the firewall to forward the appropriate ports.  There's
nothing that can't be made to work with sufficient effort.
> 3/ what internet games need additional moduls to work ?
None yet.  However, as there are several 'utility' protocols that transmit
the IP address in some form in the data section of the packet, they need
modules (FTP, IRC, etc.).  A game could be made to do this, but there's
really no practical reason to do so.
> 4/ some example of iptables rules, that make internet games work ?
Well, if you need to run, for example, a Counter-Strike or Half-Life server
behind the firewall (assuming default port configuration):
iptables -t nat -A PREROUTING -i $EXTIF -d $EXTIP -j DNAT --to-destination
$SERVERIP

with all the variables defined like this or similar:
EXTIF=eth0
EXTIP=123.45.6.7
SERVERIP=192.168.0.5

-EtherMage



Reply via email to