Quote:
Originally Posted by alternico
It's not that you can tell me what are, for each regular following iptables, the rules that match in PF:
Code:
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to 8110
iptables -t nat -I OUTPUT -p tcp --dport 110 -j REDIRECT --to 8110
|
Ah, ...
Code:
rdr on rl0 proto proto inet tcp \
from any to (rl0:0) port 110 \
tag MYRDR110 -> 127.0.0.1 port 8110
# ...
pass in log quick on rl0 inet proto tcp \
tagged MYRDR110 keep state
#
I believe we need to turn the from and to values around.