From 330e1bd3265ee059ce1024ae25dd1226b4d230e8 Mon Sep 17 00:00:00 2001 From: xchaos Date: Thu, 24 Feb 2011 22:05:21 +0000 Subject: [PATCH] this is not really self-explanatory, but anyway... git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@142 251d49ef-1d17-4917-a970-b30cf55b089b --- optional-tools/make-firewall | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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." -- 2.30.2