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> local-port <port>

Specifies a local UDP or TCP port on which incoming sessions are accepted.

set interfaces openvpn vtunx local-port port
delete interfaces openvpn vtunx local-port
show interfaces openvpn vtunx local-port

The default port number is 1194.

vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
port
The number of a port on which incoming sessions are accepted. The default port number is 1194.

Configuration mode

interfaces {
    openvpn vtunx {
        local-port port
    }
}

Use this command to specify a local UDP or TCP port on which incoming sessions are accepted. This port can be used as a server endpoint in a remote access mode tunnel or the TCP-passive endpoint when TCP is used in site-to-site mode.

Use the set form of this command to specify a local port on which incoming sessions are accepted.

Use the delete form of this command to remove the local port on which incoming sessions are accepted.

Use the show form of this command to view the local port on which incoming sessions are accepted.