CMD reload config only alias, nat and firewall
-
Hello,
I have about 100 alias definded with one LAN-ip each.
server06 -> 192.168.10.10These alias have i used in about 100 NAT-Port-Forwardings.
40001 -> server06:443I'm writing a small script which reads the DHCL-Lease-DB, updates alias in the config.xml if needed and reloads the firewall using this command without rebooting if something has been changed.
/usr/bin/nice -n20 /etc/rc.reload_all
This works fine, but reloads the whole config.
Can someone tell me how to only reload neccassary things and which these are?Stefan
-
You should be able to enter hostnames as aliases and the firewall will resolve them if Unbound is configured to resolve DHCP leases. Then you would only need update aliases. That is updated every 300s by default but you can change that in Sys > Adv > Firewall&NAT.
Steve