diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-09-03 16:18:24 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-09-03 16:18:24 +0200 |
commit | 39be0418ff403d40f7f39d81c0dee41e754cdf4d (patch) | |
tree | fb82d05b03527554cd5396ce3e025435d694fd4e /templates-cfg | |
parent | efb61c7d82a605f7ef5a7762a05a9591c42c2bc5 (diff) | |
download | vyos-nhrp-39be0418ff403d40f7f39d81c0dee41e754cdf4d.tar.gz vyos-nhrp-39be0418ff403d40f7f39d81c0dee41e754cdf4d.zip |
Cleanup script and add the settings of firewall rules
Diffstat (limited to 'templates-cfg')
-rw-r--r-- | templates-cfg/protocols/nhrp/tunnel/node.def | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates-cfg/protocols/nhrp/tunnel/node.def b/templates-cfg/protocols/nhrp/tunnel/node.def index f7109c5..65c22ad 100644 --- a/templates-cfg/protocols/nhrp/tunnel/node.def +++ b/templates-cfg/protocols/nhrp/tunnel/node.def @@ -1,9 +1,12 @@ tag: - type: txt - help: Tunnel for nhrp [REQUIRED] allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show tunnel val_help: <tun> ; Tunnel for nhrp + +create: sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --tun "$VAR(@)" --set_iptables + +delete: sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --tun "$VAR(@)" --del_iptables + |