Question

Bridged OpenVPN on Ubuntu VPS?

Posted April 22, 2014 5.9k views
I would like to create a bridged OpenVPN on Ubuntu. All the tutorials I've found involve setting up a bridge to eth0 so that clients receive IP addresses on the same physical network as the VPS. This isn't what I want to do. Here is what I what I would like to create: VPS public IP: 1.2.3.4 OpenVPN internal client IPs: 192.168.1.100-200 Clients connected to the VPN should appear to be on the same network as one another, including broadcast, so that things like Bonjour work. (This is why a routed OpenVPN configuration won't work, no broadcast) Optionally, some clients should be able to route external traffic through the VPN connection, based on client configuration. Any ideas?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
Follow https://www.digitalocean.com/community/articles/how-to-setup-and-configure-an-openvpn-server-on-debian-6.
Then edit /etc/openvpn/server.conf, uncomment client-to-client, and restart OpenVPN.
Submit an Answer