summaryrefslogtreecommitdiff
path: root/templates/firewall/node.def
blob: 406248ef570b7f5fba1ab82b5b607a05d02e107e (plain)
1
2
3
4
5
6
7
8
9
10
11
help: Configure firewall

end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
	sudo /opt/vyatta/sbin/vyatta-firewall.pl --teardown
        # set conntrack table size to standard 16384 entries if firewall disabled
        sudo sh -c "echo 16384 > /proc/sys/net/nf_conntrack_max"
     fi;

create:
     sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup