![]() $ sudo ip6tables-save > /etc/sysconfig/ip6tables $ sudo iptables-save > /etc/sysconfig/iptables To make changes permanent after reboot run iptables-save command: To update persistent iptables with new rules simply use iptables command to include new rules into your system.You can then make sure that the service is running with the following command: Make sure that you disable firewalld and enable the iptables service in systemd.In order to make your iptables rules persistent after reboot, install the iptables-services package using the dnf package manager:Īny currently erected iptables rules will be saved to the corresponding IPv4 and IPv6 files below:.How to make iptables rules persistent after reboot on Linux step by step instructions $ – requires given linux commands to be executed as a regular non-privileged user ![]() # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command. Iptables, iptables-persistent, iptables-services Requirements, Conventions or Software Version Used How to make iptables persistent after reboot on Linux Software Requirements and Linux Command Line Conventions Category
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |