Adding iptable rules

In vestacp, adding a iptables rules in .sh format and copying to /usr/local/vestacp/data/firewall/ seems to work across reboot: https://forum.vestacp.com/viewtopic.php?t=16491

How could I make my custom iptables work with hestia? my iptables are in .sh format like in vesta.

Basicly this hasn’t changed in hestia, the include of custom.sh is still there: https://github.com/hestiacp/hestiacp/blob/master/bin/v-update-firewall#L127-L130

So if you follow this procedure, it should still work.

1 Like