this is not really self-explanatory, but anyway...
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Thu, 24 Feb 2011 22:05:21 +0000 (22:05 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Thu, 24 Feb 2011 22:05:21 +0000 (22:05 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@142 251d49ef-1d17-4917-a970-b30cf55b089b

optional-tools/make-firewall

index ca1fc6a..0cf46a2 100755 (executable)
@@ -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."
This page took 0.141985 seconds and 4 git commands to generate.