From 449c818e22f0e073097ed3cfa4f79beb3ce47d4c Mon Sep 17 00:00:00 2001 From: Samson-W Date: Tue, 16 Apr 2019 02:41:26 +0800 Subject: [PATCH] Update iptables rule file path. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f191cfc..10845ec 100644 --- a/README.md +++ b/README.md @@ -160,8 +160,8 @@ Set the corresponding firewall rules according to the applications used. Hardene to do the following: ``` $ 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 +$ sed -i "s/PUB_IFS=.*/PUB_IFS=\"$INTERFACENAME\"/g" docs/configurations/etc.iptables.rules.v4.sh +$ sudo bash docs/configurations/etc.iptables.rules.v4.sh $ sudo -s # iptables-save > /etc/iptables/rules.v4 # ip6tables-save > /etc/iptables/rules.v6