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

Specifies a port on which outgoing sessions are sent.

set interfaces openvpn vtunx remote-port port
delete interfaces openvpn vtunx remote-port
show interfaces openvpn vtunx remote-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 outgoing sessions are sent. The default port number is 1194.

Configuration mode

interfaces {
    openvpn vtunx {
        remote-port port
    }
}

Use this command to specify a remote UDP or TCP port on which outgoing sessions are sent. This port can be used as a client endpoint in a remote access mode tunnel, either endpoint when UDP is used in site-to-site mode, or the TCP-active endpoint when TCP is used in site-to-site mode. Note that, if specified, the remote port setting on one endpoint must match the local port setting on the other, and conversely.

Use the set form of this command to specify a remote UDP or TCP port on which outgoing sessions are sent.

Use the delete form of this command to remove a remote UDP or TCP port on which outgoing sessions are sent.

Use the show form of this command to view a remote UDP or TCP port on which outgoing sessions are sent.