interfaces openvpn <vtunx> server max-connections <number>
Specifies the maximum number of clients that can connect to the server in a remote access environment.
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.