By johnjchase
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Follow <a href=“https://www.digitalocean.com/community/articles/how-to-setup-and-configure-an-openvpn-server-on-debian-6”>https://www.digitalocean.com/community/articles/how-to-setup-and-configure-an-openvpn-server-on-debian-6</a>. <br>Then edit <code>/etc/openvpn/server.conf</code>, uncomment <code>client-to-client</code>, and restart OpenVPN.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.