If you need your server's firewall rules to be different than the firewall rules configured by ServerPilot, you can customize your server's firewall.
The safest way to customize your firewall is to use a firewall management service, such as HeatShield, a sister company of ServerPilot. You can then log in to HeatShield to manage the firewall on all of your servers without needing to make any customizations from the command line.
HeatShield will not cause any conflicts with ServerPilot. Therefore, it is safe to use HeatShield on a server managed by ServerPilot. It's also safe to install HeatShield before you connect your server to ServerPilot.
Once you install HeatShield, ServerPilot will no longer attempt any firewall management on your server and will ignore any attempt to turn your firewall on or off in your server's Settings in ServerPilot. Instead, if you've installed HeatShield, you should log in to HeatShield to manage your server's firewall.
If you are experienced with server administration and firewall management, you can use any tool you prefer to manage your server's iptables firewall.
If you need to manually customize the firewall on your server, you should first disable ServerPilot's management of your server's firewall. To do this, log in to ServerPilot, go to your server's Settings, and choose the option to disable the firewall.
If you don't disable ServerPilot's management of your firewall, your customizations may be lost.