Friday, January 6, 2012

FreeBSD PF 防火墙简单配置

oif="em0"
block in
pass out
pass in on $oif proto tcp to ($oif) port = 5631
pass in on $oif proto tcp from 192.168.0.0/24 to ($oif) port = 3128
pass in on $oif proto tcp to ($oif) port = 80

No comments:

Post a Comment