Update README.md

This commit is contained in:
Chris Titus
2019-06-23 20:32:48 -05:00
committed by GitHub
parent b26696d4af
commit d7075adef5
+11 -5
View File
@@ -3,12 +3,18 @@
This is a script for setting up a firewall with settings for tarpitting ssh and basic protections that everyone needs.
## Download the rules to /etc/
```
git clone https://github.com/ChrisTitusTech/firewallsetup.git
````
## Make the Rules Permenant
### Debian-based Distributions
> sudo apt install iptables-persistent
> sudo /etc/init.d/netfilter-persistent save
```
sudo apt install iptables-persistent
sudo /etc/init.d/netfilter-persistent save
```
### Arch Linux Distributions
*(Use iptable-save which is pre-installed)*
> sudo iptables-save
```
sudo iptables-save
```