Centos 8 OpenVPN Tap Server Bridge

nmcli connection delete id <your id>
nmcli con add type bridge ifname br0
nmcli con add type bridge-slave ifname eno1 master br0

#create tap device

nmcli connection add type tun ifname tap0 con-name tapvpn slave-type bridge master br0 mode tap owner 65534

firewall-cmd –permanent –direct –add-rule ipv4 filter FORWARD 0 -o tap0 -i br0 -j ACCEPT

nmcli con up br0

Now configure your OpenVPN and everything should work

2 thoughts on “Centos 8 OpenVPN Tap Server Bridge

  1. If SELinux is set to enforcing, you may need a custom module to allow the tunnel socket to be relabeled from NetworkManager to openvpn

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.