tag:
type: txt
help: "Configure a tunnel interface"
syntax: $(@) in "tun0", "tun1", "tun2", "tun3", "tun4", "tun5", "tun6", "tun7", "tun8", "tun9" ; "Must be (tun0 - tun9)"
commit: $(./local-ip/) != "" ; "Must configure the tunnel local-ip"
commit: $(./remote-ip/) != "" ; "Must configure the tunnel remote-ip"
commit: $(./encapsulation/) != "" ; "Must configure the tunnel encapsulation"
create: "sudo ip tunnel add $(@) local $(./local-ip/@) remote $(./remote-ip/@) mode $(./encapsulation/@)"
create: "sudo ip link set $(@) up"
delete: "sudo ip tunnel del $(@)"
#comp_help: "Enter tunnel interface name (tun0 - tun9)"
