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> 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.