mirror of
https://github.com/ChrisTitusTech/firewallsetup.git
synced 2026-08-24 10:13:27 -05:00
Update README.md
This commit is contained in:
@@ -14,7 +14,15 @@ sudo apt install iptables-persistent
|
||||
sudo /etc/init.d/netfilter-persistent save
|
||||
```
|
||||
### Arch Linux Distributions
|
||||
*(Use iptable-save which is pre-installed)*
|
||||
*Use iptable-save which is pre-installed*
|
||||
```
|
||||
sudo iptables-save
|
||||
```
|
||||
### RHEL / CentOS Distributions
|
||||
*This is by far the simpliest way to save rules and check them # chkconfig --list | grep iptables*
|
||||
|
||||
*Note: chkconfig iptables on only needs to be run once to turn the service on*
|
||||
```
|
||||
sudo chkconfig iptables on
|
||||
sudo service iptables save
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user