this is not really self-explanatory, but anyway...
[svn/Prometheus-QoS/.git] / optional-tools / make-firewall
index ca1fc6a6bd04d7bc3db9af1467193f4034399594..0cf46a260a2ccfe073e971bfd0055267c6382582 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/bash
 cd /root/bin/
 #!/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
 /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."
This page took 0.105556 seconds and 4 git commands to generate.