interfaces openvpn <vtunx> server client <client-name> subnet <ipv4net>
Specifies a subnet at a client site in a remote access environment.
- 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. When a client initiates the VPN session, the server uses the name in the certificate to look up and apply client-specific settings (if any).
- ipv4net
- Multi-node. A subnet at the client site.
You can define multiple subnet addresses by creating multiple subnet configuration nodes. Each must have a unique IPv4 network address.
Configuration mode
interfaces {
openvpn vtunx {
server {
client client-name {
subnet ipv4net
}
}
}
}
Use this command to identify a subnet at a client site in a remote access environment.
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.