我运行优胜美地服务器4.0,在新安装后,我尝试使用此处的说明启用自适应防火墙: OS X Server: How to enable the adaptive firewall - Apple Support
我得到第一行后:
sudo pfctl -f /etc/pf.conf
pfctl: Use of -f option, could result in flushing of rules present in the main ruleset added by the system at startup.
See /etc/pf.conf for further details.
No ALTQ support in kernel
ALTQ related functions disabled
我也试过使用这个Apple help document。
sudo /Applications/Server.app/Contents/ServerRoot/usr/libexec/afctl -c
sudo /Applications/Server.app/Contents/ServerRoot/usr/libexec/afctl -f
在第二行之后我收到了这个错误:
No ALTQ support in kernel
ALTQ related functions disabled
No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
Token : 1809440486742197081
No ALTQ support in kernel
ALTQ related functions disabled
我的问题很简单:
答案 0 :(得分:0)
启用:sudo pfctl -E -f /etc/pf.conf
检查状态:sudo pfctl -s info