openvpn-web-ui icon indicating copy to clipboard operation
openvpn-web-ui copied to clipboard

Server Bridging

Open DeBaschdi opened this issue 3 years ago • 2 comments

Hi, nice work, do u plan an Option to use TAP instead TUN for a Server Bridged Layer 2 VPN ?

DeBaschdi avatar Nov 04 '21 07:11 DeBaschdi

So I've done some work on this, and have openvpn-web-ui functioning with an external (non-Docker) OpenVPN TAP Server. I used the PiVPN script (not on Raspberry Pi though), modified as described in this post:

https://technologydragonslayer.com/2022/01/16/installing-an-openvpn-tap-server-on-a-raspberry-pi-using-pivpn/

Be aware that the name of your physical ethernet port, used in the openvpn-bridge file, is probably not eth0.

In my case I'm using Debian 11, and I believe the script also works with Ubuntu. Here's my fork:

https://github.com/bnhf/openvpn-tap-external-web-ui/

screenshot-brix-pc2_8080-2022 02 03-16_09_24

bnhf avatar Feb 14 '22 03:02 bnhf

Since my repo is significantly different now than this master, I decide to move it to a dedicated repository. I've left my fork in place for now -- but if you're interested in OpenVPN TAP (bridged) setups in particular, have a look. It uses a host based PiVPN installation (which works on Debian and Ubuntu as well). It's compatible with TUN setups too, and I plan on supporting combo TUN and TAP installs in the near future:

https://github.com/bnhf/pivpn-tap-web-ui

bnhf avatar Mar 18 '22 00:03 bnhf