Page 1 of 1

Configure openvpn server to Layer2

Posted: Tue Nov 22, 2022 5:13 pm
by yopol
I have install openvpn server on raspberry-pi following that tutorial.
https://openvpn.net/vpn-server-resource ... pberry-pi/

I have access to server web page.
How can I configure the server to work as Layer2? (So the client can send broadcast?)

Re: Configure openvpn server to Layer2

Posted: Tue Nov 29, 2022 9:57 pm
by ordex
In order to switch to layer 2 you have to change the tunnel type. Please check the manpage for --dev-type. You want to set it to "tap".
This has to be done on both client and server.