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 subnet <ipv4net>

Specifies the subnet from which client IP addresses are allocated.

set interfaces openvpn vtunx server subnet ipv4net
delete interfaces openvpn vtunx server subnet
show interfaces openvpn vtunx server subnet
vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
ipv4net
The subnet from which client IP addresses are allocated. The prefix for the subnet must be /29 or smaller.

Configuration mode

interfaces {
    openvpn vtunx {
        server {
            subnet ipv4net
        }
    }
}

This command is used on the server side of a remote access OpenVPN connection and specifies the subnet on which the remote clients will receive IP addresses.

Use this command to specify the subnet from which client IP addresses are allocated.

Use the set form of this command to specify the subnet.

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

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