openvpn tun forwarding with firewalld
I had the same issue, but this finally worked for me:
-
First, enable forwarding:
echo 1 > /proc/sys/net/ipv4/ip_forward
-
And then authorize your
tun0
interface with firewalld:firewall-cmd --zone=trusted --add-interface=tun0
Add --permanent
to the last command to make it persistant.
I had nothing more to do except the usual OpenVPN configuration.