Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The XML file I save, is it transformed into iptables script and sent to the firewall automatically when I click on “Compile”? Or do I have to restart something to see the changes applied?

0
Posted

The XML file I save, is it transformed into iptables script and sent to the firewall automatically when I click on “Compile”? Or do I have to restart something to see the changes applied?

0

“Compile” only calls compiler, which produces a file called after the name of the firewall object, with “.fw” extension. This file contains a firewall sript which needs to be activated. There are three ways to activate it: 1) you can simply copy it to the firewall machine and then run it by hand; 2) you can use built-in installer and 3) you can use a shell script to copy this file to where it should be and then run it. Built-in installer uses ssh to communicate with the firewall, you can activate it by clicking menu Policy/Install (or corresponding toolbar icon). You can use your own installer script if you put the full directory path and file name for it in the “Policy Install Script” field in “Compile/Install” tab of the firewall’s settings dialog. Then menu item “Rules/Install” will call your script. You do not need to reboot your firewall to activate the new policy. Iptables script generated by Firewall Builder has a code to do a “clean up” job by removing all previous iptables set

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123