Configure firewalld for OpenVPN (server-bridge) in Fedora 20

Posted by rsc1975 on Server Fault See other posts from Server Fault or by rsc1975
Published on 2014-08-20T07:17:21Z Indexed on 2014/08/22 22:23 UTC
Read the original article Hit count: 126

Filed under:
|
|
|
|

I've installed an OpenVPN server (server-bridge) on Fedora 20, but I cannot get it to work. I'm almost sure that It's a firewall issue.

I'm trying to connect from an OSX client, but I can connect (just connect to VPN server, without access to anything) before the bridge is configured in server, however once I configure the bridge interface (using this script), then I cannot connect anymore. I've configured it as server-bridge, following these HOW-TOs from Fedora and OpenVPN Ethernet-Bridge.

The firewall config is explained using iptables:

iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT

However, in Fedora 20, by default, It's installed firewalld, so, Can anyone tell me the equivalent commands using firewall-cmd ? I read the firewalld guide, but It's not clear to me how to achieve it (I'm a developer, no SysAdmin).

I know that I can install iptables, but I want it to work with firewalld.

© Server Fault or respective owner

Related posts about linux

Related posts about firewall