![]() ![]() I've tested this updated deb package on Ubuntu 12.04, Ubuntu 14.04, and Ubuntu 15.04. All that was modified is the init script stop function calls the save rules function so that when the system is shutdown, rebooted, or in level1, the rules are automatically saved. Sudo dpkg -install iptables-persistent_0.5.8_all.deb To use this version, please use the following commands: sudo apt-get remove iptables-persistent This way, saving and loading the rules happens automatically without user intervention. When the system boots to runlevels 2-5, the rules are restored. However, I modified the source code of the package in Ubuntu 14.04 to automatically save the rules on reboot, shutdown (halt), or runlevel 1. ![]() Iptables-persistent by default does NOT automatically save the system's iptables when rebooting. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |