Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

interfaces openvpn <vtunx> protocol <protocol>

Specifies the OpenVPN communications protocol.

set interfaces openvpn vtunx protocol protocol
delete interfaces openvpn vtunx protocol
show interfaces openvpn vtunx protocol

The default protocol is UDP.

vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
protocol
An OpenVPN communications protocol. The protocol is one of the following:

tcp-active: Defines the transport protocol as active TCP.

tcp-passive: Defines the transport protocol as passive TCP.

udp: Defines the transport protocol as UDP. UDP is the default protocol.

Configuration mode

interfaces {
    openvpn vtunx {
        protocol protocol
    }
}

Use this command to specify the OpenVPN communications protocol.

Use the set form of this command to specify the communications protocol.

Use the delete form of this command to remove the communications protocol.

Use the show form of this command to view the communications protocol.