Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 823

Configure firewallD to access services on bridge from OpenVPN

$
0
0

I have setup a KVM host using a routed bridge (interface br0) where the virtual machines are connected. I can reach services inside the VMs on the bridge from the KVM host without problems. I can reach services on the bridged VMs from the internet (public zone) due to

firewall-cmd --permanent --direct --passthrough ipv4 -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT

I have added OpenVPN server to the KVM host (using tun0) and want to reach services on the bridged VMs from an OpenVPN client. This works if firewallD is shutdown but not with firewallD.

I tried adding tun0 to the internal zone and br0 to the dmz and enable https service (e.g.) on both, but no difference. HTTPS is only reachable from the public zone (internet).

I also tried various additional direct passthrough commands but to no avail. I guess there is something basic I overlook, but since I overlook it ...


Viewing all articles
Browse latest Browse all 823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>