O'Reilly logo

Mastering OpenVPN by Jan Just Keijser, Eric F Crist

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bridged tap adapter on both ends

Another advanced use case of a dedicated point-to-point VPN is to bridge two remote network segments together. OpenVPN allows you to bridge two network segments with the same IP address range together to form a single transparent network segment. It is generally not advisable to do this, as the performance of such a bridged network will not be optimal. In some cases, it is unavoidable. Normally, it would be better to assign different subnets to both ends, but sometimes special software is tied to a specific IP address and there is no alternative but to have the same subnet on both ends.

Consider the following network layout:

At the client-side, the network 192.168.4.0/24 is in use—with the OpenVPN client found at ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required