Making iptables permanent

Help
2012-07-05
2013-05-22
  • Timothy Shelley

    Timothy Shelley - 2012-07-05

    Hi,

    I've just installed webmin and the CSF module. I have used CSF to expose the ports I need and that is working great. But I'm having a problem using the Linux Firewall under Networking.

    I'm adding all the iptable rules I need. I then Apply the Configuration and every works until I reboot the machine and it looses the iptable changes I made.

    I've made sure that Activate at boot is on but what do I need to do in webmin to make the iptable changes permanent? Thanks

     
  • Timothy Shelley

    Timothy Shelley - 2012-07-05

    Hi,

    I think I may have answered my own question, I am guessing my iptables changes need to be placed in csfpre.sh for them to take effect on a reboot?

     

Log in to post a comment.