X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=optional-tools%2Fmake-firewall;h=0cf46a260a2ccfe073e971bfd0055267c6382582;hp=ca1fc6a6bd04d7bc3db9af1467193f4034399594;hb=3a4fe2736543d63891a750ac4f92586e04c01d26;hpb=86d37066beb7298ec660b09f5efa0f2622352663;ds=sidebyside diff --git a/optional-tools/make-firewall b/optional-tools/make-firewall index ca1fc6a..0cf46a2 100755 --- a/optional-tools/make-firewall +++ b/optional-tools/make-firewall @@ -1,9 +1,11 @@ #!/bin/bash cd /root/bin/ -/root/bin/updatehosts +#you have to provider hosts file (prometheus syntax) to these scripts +#/root/bin/updatehosts /root/bin/make-pimp /root/bin/make-iptables-restore -/etc/network/setnet -#echo -n "Running iptables restore ... " -#/sbin/iptables-restore < /mnt/mtdblock0/iptables-restore.in -#echo "done." +#our firewall is configured before restoring iptables nat table +#/etc/network/setnet +echo -n "Running iptables restore ... " +/sbin/iptables-restore < /mnt/mtdblock0/iptables-restore.in +echo "done."