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> local-host <ipv4>

Specifies the local IP address to which connections are accepted.

set interfaces openvpn vtunx local-host ipv4
delete interfaces openvpn vtunx local-host
show interfaces openvpn vtunx local-host
vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
ipv4
The IP address of the local physical interface. This address is the IP address on which connections are accepted. If not specified, then all connections are accepted.

Configuration mode

interfaces {
    openvpn vtunx {
        local-host ipv4
    }
}

Use this command to specify the local IP address to which connections are accepted. This address 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. The address can be an IP address on any network interface on this endpoint. If this address is specified, the OpenVPN process accepts only sessions coming in on the particular IP address, and this acceptance applies to both UDP and TCP. If an address is not specified, OpenVPN accepts incoming sessions on any interface.

Use the set form of this command to specify the local IP address to which connections are accepted.

Use the delete form of this command to remove the local IP address to which connections are accepted.

Use the show form of this command to view the local IP address to which connections are accepted.