Skip to contentSkip to conversation

NAT for heritage iptables-1.2.10

DISCUSSION Jeff Weber 1 participant 1 message Feb 13, 2007

lore
Share & tools
lore

Jeff Weber

author
#0 lore raw

Hello:

I am replicating a firewall from from an iptables v1.3.3 system, to an older iptables v1.2.10 (and Linux-2.4.27) system. The older system cannot be upgraded to newer software at this time.

The following iptables command works on the newer system:
/usr/sbin/iptables -t nat -A PREROUTING -p tcp -d 192.168.100.50 --dport 502 \
-i eth1 -j DNAT --to 172.26.0.88:502

but is invalid on the iptables-1.2.10 system, specifically the "--dport" and "--to" options are unknown arguments.

I've been unable to find any documentation on NAT for the older iptables. How can I implement the same NAT functionality above using iptables-1.2.10 ?

thanks,
Jeff