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 client <client-name> disable

Specifies a client that will be disallowed from connecting to the OpenVPN server.

set interfaces openvpn vtunx server client client-name disable
delete interfaces openvpn vtunx server client client-name disable
show interfaces openvpn vtunx server client client-name

Clients are allowed to connect to the OpenVPN server.

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.

Configuration mode

interfaces {
    openvpn vtunx {
        server {
            client client-name {
                disable 
            }
        }
    }
}

Use this command to specify a client that will be disallowed from connecting to the OpenVPN server the next time it tries to connect (and any subsequent attempts). This will not affect the client’s current connection. The current connection can be reset using the monitor interfaces openvpn vtunx traffic command.

Note: If an OpenVPN client tries to connect to an OpenVPN server and is refused by the server, the client process will exit.

Use the set form of this command to specify a client that will be disallowed from connecting to the OpenVPN server on any subsequent attempts.

Use the delete form of this command to allow the client to connect to the OpenVPN server.

Note: An OpenVPN client needs to be restarted before it will initiate a new connection to the OpenVPN server.

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