Pf open5.4 not accept rule
Hi,
I have the following table and rule in pf.conf
table <PASS_FTP> { 192.168.20.3 192.168.20.5 192.168.20.6 192.168.20.8 }
pass in quick on $int_if proto tcp from <PASS_FTP> to any port 21 divert-to 127.0.0.1 port 8021
with this rule, I allow only those ips ftp but please do not load the rule and displays the following error
pfctl -f /etc/pf.conf
/etc/pf.conf:139: address family mismatch for divert
pfctl: Syntax error in config file: pf rules not loaded
Anyone know if it has syntax error?
Thanks!
|