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> server name-server <ipv4>

Specifies a name server address to be pushed to clients in a remote access environment.

set interfaces openvpn vtunx server name-server ipv4
delete interfaces openvpn vtunx server name-server
show interfaces openvpn vtunx server name-server
vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
ipv4
Multi-node. The IPv4 address of the name server to push to clients.

You can define multiple name server addresses to push to clients by creating multiple name-server configuration nodes. Each must have a unique IPv4 address.

Configuration mode

interfaces {
    openvpn vtunx {
        server {
            name-server ipv4
        }
    }
}

Use this command to specify an IPv4 address of a name server to be pushed to clients in OpenVPN remote access mode. This is supported by Windows clients. Other client types may not support this.

Use the set form of this command to specify an IPv4 address of a name server to be pushed to clients.

Use the delete form of this command to remove the name server configuration.

Use the show form of this command to view the name server configuration.