On Tue, 26 Mar 2002, Maciej Soltysiak wrote:
> > 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
>
Ahh.. stupid me. Thank you!
> > Is this going to be supported?
> across table jumps ? hmm, i think the concept of a table prevents this.
>
Yeah, I don't need table jumps now when I understand chains are per
table..:)
> > - Pasi K�rkk�inen
> Maciej Soltysiak
>
- Pasi K�rkk�inen
^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.