Modify Readme
This commit is contained in:
parent
dd82b8afc5
commit
8df7601664
|
@ -129,8 +129,8 @@ Set the corresponding firewall rules according to the applications used. Hardene
|
|||
[etc.iptables.rules.v4.sh](https://github.com/hardenedlinux/harbian-audit/blob/master/docs/examples/configurations/etc.iptables.rules.v4.sh)
|
||||
to do the following:
|
||||
```
|
||||
$ INTERFACENAME="your network interfacename"
|
||||
$ sed "s/PUB_IFS=.*/PUB_IFS=\"$INTERFACENAME\"/g" docs/examples/configurations/etc.iptables.rules.v4.sh
|
||||
$ INTERFACENAME="your network interfacename(Example eth0)"
|
||||
$ sed -i "s/PUB_IFS=.*/PUB_IFS=\"$INTERFACENAME\"/g" docs/examples/configurations/etc.iptables.rules.v4.sh
|
||||
$ sudo bash docs/examples/configurations/etc.iptables.rules.v4.sh
|
||||
# iptables-save > /etc/iptables/rules.v4
|
||||
# ip6tables-save > /etc/iptables/rules.v6
|
||||
|
|
Loading…
Reference in New Issue