added more info to readme

This commit is contained in:
Nick 2020-12-06 17:17:50 -05:00
parent b596320eea
commit 978ca05769
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Load iptables and ipset rules however you please on start up
This is done by the following. Some of my servers have it in ```/etc/rc.local``` others have it in ```/etc/network/interface``` as post-up script This is done by the following. Some of my servers have it in ```/etc/rc.local``` others have it in ```/etc/network/interface``` as post-up script
```iptables-restore < /path/to/iptables.save``` ```iptables-restore < /path/to/iptables.save```
```ipset restore < /path/to/ipset.save``` ```ipset restore < /path/to/ipset.save```
There may be a better way to do this, but this works for me on some servers. There may be a better way to do this, but this works for me on some servers.