ver o log
clog /var/log/system.log
reiniciar servidor dns
ps aux | grep dns
to get the process id
code:
kill -HUP pid
CLI command Description
pfctl -d Deactivate Firewall completely
pfctl -eActivate Firewall Rules again
pfctl -sn Show current NAT rules
pfctl -sr Show current filter rules
pfctl -ss Show the current state table
pfctl -sa Show everything it can show
viconfig Edit the actual config file in /conf/config.xml.
When editiing is finished the /tmp/config.cache file will be deleted,
so the changes will be activated in the firewall after finishing editing.
/etc/rc.reload_allReload the Firewall with all the configuration.
Restarting sshd (keeping actual ssh session) and restarting webgui.
It seems the rc.reload_all is also keeping the sessions up and running.
rm /tmp/config.cacheRemove the running config and reuse the /cf/config.xml
(Firewall will reload the /cf/config.xml after delete)
echo "<?php include('openvpn.inc'); openvpn_resync_all();?>" | php -q Manual Restart OpenVPN Processes.