[ale] SNAT issues
Jim Kinney
jim.kinney at gmail.com
Wed Oct 28 11:08:37 EDT 2009
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
>
--
--
James P. Kinney III
Actively in pursuit of Life, Liberty and Happiness
More information about the Ale
mailing list