mirror of
https://github.com/ChrisTitusTech/firewallsetup.git
synced 2026-08-24 02:24:19 -05:00
Update README.md
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user