PF - pfctl命令备忘
时间:2008-09-20 15:40:22
来源: 作者: 点击:次 出处:技术无忧
# pfctl -d Disable the packet filter.
# pfctl -e Enable the packet filter.
# pfctl -f /etc/pf.conf 载入 pf.conf 文件
# pfctl -nf /etc/pf.conf 解析文件,但不载入
# pfctl -Nf /etc/pf.conf 只载入文件中的NAT规则
# pfctl -Rf /etc/pf.conf 只载入文件中的过滤规则
# pfctl -sn 显示当前的NAT规则
# pfctl -sr 显示当前的过滤规则
# pfctl -ss 显示当前的状态表
# pfctl -si 显示过滤状态和计数
# pfctl -sa 显示任何可显示的

上一篇:在FreeBSD下UPS支持程序
下一篇:下面没有链接了










文章评论
共有 0 位网友发表了评论 此处只显示部分留言 点击查看完整评论页面