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 max-connections <number>

Specifies the maximum number of clients that can connect to the server in a remote access environment.

set interfaces openvpn vtunx server max-connections number
delete interfaces openvpn vtunx server max-connections
show interfaces openvpn vtunx server max-connections

The number of clients that can connect is either 1024 or the limit of system resources.

vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
number
The maximum number of client connections that the server accepts. The number ranges from 1 through 1024. The default is 1024.

Configuration mode

interfaces {
    openvpn vtunx {
        server {
            max-connections number
        }
    }
}

Use this command to specify the maximum number of client connections that the server accepts. Once the limit is reached, any additional clients that attempt to connect to the server will be refused.

Use the set form of this command to specify the maximum number of clients that can connect to the server.

Use the delete form of this command to return to the default configuration.

Use the show form of this command to view the maximum number of client connections configured.