conceptple.blogg.se

Restart iptables
Restart iptables












restart iptables

I don’t know how to check if the boot sequence invokes iptables-restore…Īny thoughts on making iptables active with the saved rules after a reboot? Many thanks. I have been able to restore the rules manually using iptables-restore. The /etc/iptables.up.rules file contains the expected information (reflecting my rules). BUT… the Activate at boot is set to No after a reboot.įurthermore, if I reboot my server (say, by going to my VPS hosting control panel and clicking Reboot), when it comes back up, iptables -nL shows the default ACCEPT/ACCEPT/ACCEPT again. In comments, you refer to 'other people' saying that it is a service. It looks as if that action took effect, too. There is no given 'program' you can start or stop to disable iptables - there's commands you can run which do this (such as iptables -F among others), but there's no specific service to start or stop. I can click the Activate at boot button (after first clicking the Yes button). I can make changes and click Apply Configuration and they go into effect. In the Webmin Linux Firewall page, I see my firewall rules as expected. I have a set of scripts that automatically update the iptables rules. I removed firewalld with sudo apt purge firewalld I want to use iptables (instead of firewalld). When my server restarts, all the firewall rules get lost and I go back to default (ACCEPT/ACCEPT/ACCEPT)














Restart iptables