Thus spake Raymond Leach, on Fri, Feb 22, 2002 at 02:46:45PM +0200:
> 2/22/02 1:56:37 PM, Jose Celestino <[EMAIL PROTECTED]> wrote:
> 
> >Moreover, I have a similar question, but in the case where we "put" the
> >internal machine in our external network by doing:
> >
> >$iptables -A FORWARD -i eth2 -p tcp -d OUTSIDE-ALIAS-FOR-INTERNAL-MACHINE -j ACCEPT
> >$iptables -t nat -A PREROUTING -i eth2 -d OUTSIDE-ALIAS-FOR-INTERNAL-MACHINE -j 
>DNAT --to INTERNAL-MACHINE
> >$iptables -t nat -A POSTROUTING -s INTERNAL-MACHINE -d ! INTERNAL-NETWORK -j SNAT 
>--to OUTSIDE-ALIAS-FOR-INTERNAL-MACHINE
> >
> >Is there something extra I need to take in account?
> Possibly a FORWARD rule for the way back. Does the internal machine initiate 
>connections outwards?
> >

Yep, it does so also.

> >Thus spake MirekO, on Fri, Feb 22, 2002 at 12:26:31PM +0100:
> >> I'am preparing to use iptables. I read documentations, manuals, howto's but
> >> still hav'nt
> >> answers for
> >> 1/ what internet games will work throught the iptables NAT?
> >> 2/ what internet games will NEVER wokr throught iptables NAT ?
> >> 3/ what internet games need additional moduls to work ?
> >> 4/ some example of iptables rules, that make internet games work ?
> >> 
> >> 
> >> 
> >
> >-- 
> >Jose Celestino <[EMAIL PROTECTED]> SysAdmin::SAPO.pt http://www.sapo.pt
> >---------------------------------------------------------------------
> >main(){printf("%xu%xk%x!\n",15,12,237);}
> >
> 
> 

-- 
Jose Celestino <[EMAIL PROTECTED]> SysAdmin::SAPO.pt http://www.sapo.pt
---------------------------------------------------------------------
main(){printf("%xu%xk%x!\n",15,12,237);}

Reply via email to