MonMotha wrote:
Unfortunately, 2.4 can't use ipmasqadm, and ipchains can't do port
forwards on it's own, so you'll have to use iptables for this. Of
course this means converting whatever rulesets you might have (which may
be a problem).
However, iptables is pretty flexible. To forward a port:
iptables -t nat -A PREROUTING -p tcp -s $ExtHostIP --dport 25 --to
192.168.0.5:25
Make sure you allow it on the forward table.
--MonMotha
D'oh! Forgot the -j DNAT:
iptables -t nat -A PREROUTING -p tcp -s $ExtHostIP --dport 25 -j DNAT
--to 192.168.0.5:25
--MonMotha