
C613-50186-01 Rev B
Command Reference for AR2050V
2779
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
O
PEN
VPN C
OMMANDS
TUNNEL
MODE
OPENVPN
TUN
tunnel mode openvpn tun
Overview
Use this command to set the tunnel mode to OpenVPN TUN for a tunnel interface.
Use the
no
variant of this command to remove the mode.
TUN is a virtual network device. TUN creates a Virtual Tunnel Interface (VTI) that
carries layer 3 packets. You may want to use TUN in the following scenarios:
•
You want to transport traffic that is destined for the VPN client
•
You want to transport only layer 3 packets
•
You want to support VPN on mobile devices
Note that TUN cannot be used in bridges and broadcast traffic is not transported
in TUN mode.
Syntax
tunnel mode openvpn tun
no tunnel mode
Mode
Interface Configuration
Examples
To set
tunnel5
to be an OpenVPN tunnel in TUN mode, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel5
awplus(config-if)#
tunnel mode openvpn tun
To remove tunnel mode, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel5
awplus(config-if)#
no tunnel mode
Related
Commands