[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] SNAT issues
- Subject: [ale] SNAT issues
- From: william at fragakis.com (William Fragakis)
- Date: Wed, 28 Oct 2009 11:22:59 -0400
- In-reply-to: <[email protected]>
- References: <1256738505.12851.113.camel@compaq> <[email protected]> <1256741638.12851.124.camel@compaq> <[email protected]>
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
> >
>
>
>
> --