Difference between tun and tap in openvpn

TUN devices provide routing mode and start a virtual point-to-point connection; TAP devices provide bridging mode and start a virtual network segment. The parameter ifconfig needs the two tunnel IPs when we are using tun devices, and the local IP along with netmask, when we are using tap devices.

Leave a Reply

Your email address will not be published. Required fields are marked *