home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

interfaces openvpn <vtunx> server client <client-name> push-route <ipv4net>

Specifies a route to be pushed to a client in a remote access environment.

set interfaces openvpn vtunx server client client-name push-route ipv4net
delete interfaces openvpn vtunx server client client-name push-route ipv4net
show interfaces openvpn vtunx server client client-name push-route
vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
client-name
Mandatory. The “name” of the client. It corresponds to the “common name” contained in the client's certificate. When a client initiates the VPN session, the server uses the name in the certificate to look up and apply client-specific settings (if any).
ipv4net
Multi-node. The subnet to be made accessible to the OpenVPN client through the OpenVPN server.

You can define multiple subnets to push to clients by creating multiple push-route configuration nodes. Each must have a unique IPv4net address.

Configuration mode

interfaces {
    openvpn vtunx {
        server {
            client client-name {
                push-route ipv4net
            }
        }
    }
}

Use this command to specify a subnet that the client can access by routing packets through the server.

Note: Committing configuration changes to this configuration node does not result in the OpenVPN process being restarted. The configuration change will take effect the next time the client connects to the server. Use the reset interfaces openvpn vtunx command on the client to reset the connection.

Use the set form of this command to specify a route to be pushed to all clients.

Use the delete form of this command to remove the route configuration.

Use the show form of this command to view the route configuration.