[ale] SNAT issues

William Fragakis william at fragakis.com
Wed Oct 28 11:22:59 EDT 2009


This may be helpful:

http://www.netfilter.org/documentation/HOWTO/NAT-HOWTO-6.html

regards,
William

On Wed, 2009-10-28 at 11:08 -0400, Jim Kinney wrote:
> docs are correct. They are for DNAT not SNAT.
> 
> On Wed, Oct 28, 2009 at 10:53 AM, Chris Fowler
> <cfowler at outpostsentinel.com> wrote:
> > Possibly then this documentation is old/wrong?
> >
> > http://linux-ip.net/html/nat-dnat.html
> >
> > On Wed, 2009-10-28 at 10:45 -0400, Michael H. Warfield wrote:
> >> On Wed, 2009-10-28 at 10:01 -0400, Chris Fowler wrote:
> >> > Am I doing something wrong?
> >>
> >> > [root at demo-ens]# /sbin/iptables -t nat -A POSTROUTING -d 192.168.2.254
> >> > -j SNAT --to-destination 10.0.2.254
> >> > iptables v1.2.5: Unknown arg `--to-destination'
> >> > Try `iptables -h' or 'iptables --help' for more information.
> >>
> >> --to-destination is not valid for SNAT, only for DNAT.
> >>
> >> --to-source is what you would use with SNAT.
> >>
> >> > This is in kernel 2.4.24.
> >>
> >> > Chris
> >>
> >> Regards,
> >> Mike
> >> _______________________________________________
> >> Ale mailing list
> >> Ale at ale.org
> >> http://mail.ale.org/mailman/listinfo/ale
> >> See JOBS, ANNOUNCE and SCHOOLS lists at
> >> http://mail.ale.org/mailman/listinfo
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> >
> 
> 
> 
> -- 



More information about the Ale mailing list