Hello
Eljas Alakulppi a écrit :
jose a. zúñiga <zuniga@xxxxxxxxxxxxxxxx> kirjoitti Fri, 27 Jul 2007
13:14:12 +0300:
When I try to run this rules:
/sbin/iptables -A POSTROUTING -s 192.168.1.0/24 -d XXX.XXX.XXX.XXX -o=20
YYY.YYY.YYY.YYY -p tcp -m tcp --dport 110 -j SNAT --to-source=20
YYY.YYY.YYY.YYY
I suppose that the =20 are not really part of the rule but probably the
trace of some quoted-printable encoding.
I get this error.
iptables: No chain/target/match by that name
Add "-t nat" before -A POSTROUTING
Also, the -o option takes an interface name (eth0, ppp0...), not an IP
address. However iptables does not check that the specified interface
name actually exists. So this rule is not likely to match anything.