diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-29 12:17:54 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-29 12:17:54 -0800 |
commit | 258a139281fced3abe7f40aabd30cccaf791f48e (patch) | |
tree | e1e748880dc09ec1f16907e0b86f25fba5736d23 /templates/clear/firewall | |
parent | 6d33fa3c2bf15916bdd59726cfcf0bab3f44a891 (diff) | |
download | vyatta-op-firewall-258a139281fced3abe7f40aabd30cccaf791f48e.tar.gz vyatta-op-firewall-258a139281fced3abe7f40aabd30cccaf791f48e.zip |
convert to using iptables directly
Some usages of iptables by sudo are allowed by /etc/sudoers.
This avoids having to run perl command as root, and keeps kernel
the same as mainline.
Diffstat (limited to 'templates/clear/firewall')
-rw-r--r-- | templates/clear/firewall/name/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/clear/firewall/name/node.tag/node.def b/templates/clear/firewall/name/node.tag/node.def index 6a61828..e4d5631 100644 --- a/templates/clear/firewall/name/node.tag/node.def +++ b/templates/clear/firewall/name/node.tag/node.def @@ -1,2 +1,2 @@ help: Clear firewall rules for a given chain -allowed: sudo ${vyatta_bindir}/sudo-users/iptables --list -n | /bin/grep ^Chain | /usr/bin/awk '{ print $2 }'
\ No newline at end of file +allowed: /sbin/iptables --list -n | /bin/grep ^Chain | /usr/bin/awk '{ print $2 }' |