I am unable to use the same target under iptables. can someone help please?
iptables v1.4.21 Kernel: 3.16.7
iptables -t nat -A POSTROUTING -o eth0 -j SAME --to 1.2.3.4-1.2.3.7 iptables: No chain/target/match by that name.
I am unable to use the same target under iptables. can someone help please?
iptables v1.4.21 Kernel: 3.16.7
iptables -t nat -A POSTROUTING -o eth0 -j SAME --to 1.2.3.4-1.2.3.7 iptables: No chain/target/match by that name.
According to iptables-extensions's man page, the SAME
target was superseded by the --persistent
flag of the DNAT
target:
--persistent
Gives a client the same source-/destination-address for each connection. This supersedes the
SAME
target. Support for persistent mappings is available from 2.6.29-rc2.