The easiest way to save your new rules on an Ubuntu server is to use the iptables-persistent package. Here is how you can manually save your new rules on Ubuntu and CentOS server respectively: This means that they will be lost after you reboot your system- unless you save them. It is important to note that iptables rules are ephemeral. We will begin by determining how you can save your rules. Now that we have the prerequisites out of the way, let’s dive into some of the common iptables commands: How to Save Your Rules
0 Comments
Leave a Reply. |