From: xchaos Date: Thu, 24 Feb 2011 22:05:21 +0000 (+0000) Subject: this is not really self-explanatory, but anyway... X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=commitdiff_plain;h=330e1bd3265ee059ce1024ae25dd1226b4d230e8 this is not really self-explanatory, but anyway... git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@142 251d49ef-1d17-4917-a970-b30cf55b089b --- 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."