X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=optional-tools%2Fmake-firewall;h=ca1fc6a6bd04d7bc3db9af1467193f4034399594;hp=239f478047a41ca8872c12e361df70011416a765;hb=86d37066beb7298ec660b09f5efa0f2622352663;hpb=7cf6da16e9b30099942458c113ccce7d0f29ee67 diff --git a/optional-tools/make-firewall b/optional-tools/make-firewall index 239f478..ca1fc6a 100755 --- a/optional-tools/make-firewall +++ b/optional-tools/make-firewall @@ -1,14 +1,9 @@ #!/bin/bash -# -# requires: -# -# /rw/etc/hosts ... configuration file for dashboard and snat/dnat -# parses Prometheus compatible nodelist and generates some firewall -# rules -# -./make-pimp -./make-snat-dnat -# -# /rw/etc/network/snat-dnat is generated by make-snat-dnat -# -/rw/etc/network/snat-dnat +cd /root/bin/ +/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."