> Hello!
Hi
>
> This doesn't seem to work:
>
> iptables -t nat -A POSTROUTING -s foo -d bar -j nat-baz
> iptables -A nat-baz -j SNAT --to-source 1.2.3.4

it is because you need to create the nat-baz chain in the nat table.
Do this:
iptables -t nat -N nat-baz
iptables -t nat -A nat-baz -j SNAT --to-source 1.2.3.4
iptables -t nat -A POSTROUTING -s foo -d bar -j nat-baz

> Is this going to be supported?
across table jumps ? hmm, i think the concept of a table prevents this.

> - Pasi K�rkk�inen
Maciej Soltysiak


Reply via email to