OpenVPN and TAP

Started by Tripple_Delta, July 04, 2023, 08:22:51 PM

Previous topic - Next topic
Hi,

I have a working VPN connection with TUN interface.
I'm trying to setup the same VPN connection but now with a TAP interface.

DHCP is working. I get an IP. Status sais OK.
But that's it. I can't ping the gateway, can't ping any device on the LAN. And of course no ping outside the LAN.

I guess it has something to do with the routing table?

Any suggestions to fix this?

Thanks.

Finally fixed:

Interfaces - TAP: enable
Interfaces - Other Types: add bridge and add to Member interfaces LAN and VPN TAP

Easy but I couldn't find this in any manual nor is this set automatically when setting up the VPN with TAP.

Bridged VPN is frequently discouraged due to problems inherent in the broadcast nature, missed ARP updates and such. Generally routed connections are preferred.

That being said make sure to move the "LAN" assignment and IP configuration to the bridge interface instead of the physical port. If you don't you will create all sorts of hard to debug problems with multicast applications, most importantly IPv6 won't work.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)