Neil Quiogue wrote: > That's the thing, I've tried the rule before and I'm getting this error :-( > syntax error error at "->", line 1 > /etc/init.d/ipfboot: load of /etc/opt/ipf/ipnat.conf failed > > The rule is: > rdr pcn0 from 192.168.0.5 to 192.168.0.1 port 80 -> 192.168.0.2 port 80
This should read rdr pcn0 from 192.168.0.5 to 192.168.0.1 port = 80 -> 192.168.0.2 port 80 The man page ipnat.5 has been incorrect in this respect for years. The syntax should be as with "map".
