home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

interfaces openvpn <vtunx> mode <mode>

Specifies the mode in which an OpenVPN interface operates.

set interfaces openvpn vtunx mode mode
delete interfaces openvpn vtunx mode
show interfaces openvpn vtunx mode
vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
mode
Mandatory. The mode in which an OpenVPN interface operates. The mode is one of the following:

client: Defines the endpoint as the client in a remote access tunnel.

site-to-site: Defines the endpoint as one end of a site-to-site tunnel.

server: Defines the endpoint as the server in a remote access tunnel.

Configuration mode

interfaces {
    openvpn vtunx {
        mode mode
    }
}

Use this command to specify the mode in which an OpenVPN interface operates.

Use the set form of this command to specify the mode in which an interface operates.

Use the delete form of this command to remove the mode in which an interface operates.

Use the show form of this command to view the mode in which an interface operates.