Client and server configuration
To configure an OpenVPN client or server as a tap device, use the configuration shown in the following example.
Configuration options related to tap devices for client and server interfaces
interfaces {
openvpn if_name{
device-type
tap
}
}
- device-type tap: This argument tells OpenVPN that the tunnel is to be used as a tap device and operate on Layer 2 traffic. This configuration is required on both ends of the OpenVPN tunnel.