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 push-route <ipv4net>

Specifies a route to be pushed to all clients in a remote access environment.

set interfaces openvpn vtunx server push-route ipv4net
delete interfaces openvpn vtunx server push-route
show interfaces openvpn vtunx server push-route
vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
ipv4net
Multi-node. The subnet to be made accessible to the OpenVPN clients 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 {
            push-route ipv4net
        }
    }
}

Use this command to specify a subnet that all clients can access by routing packets through the server. This route is pushed to all clients and the OpenVPN process is restarted.

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.