Ask Your Question

Firewall with OpenVPN

asked 2012-07-28 21:34:08 -0500

joe74 gravatar image

I have been looking for a howto, tutorial or something that describes me how to configure my firewall with a working openVPN connection. I have found none. I'm almost a newbie at networks, barely I got to configure a VPN, but I need to secure my firewall, and as I understand a VPN bypasses a firewall. Thanks in advance for your answers.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-04 20:59:39 -0500

kseifried gravatar image

Is your system an OpenVPN server or an OpenVPN clieent? Do you want to firewall traffic coming to the box from external entities, or are you talking about firewalling traffic coming through the OpenVPN link?

These links contain pretty much everything you need:

But basically the easiest way is to create firewall rules that apply to the tun* interfaces ("tun+" in iptables config), you can restrict what goes into it or comes out of it no problem using this.

edit flag offensive delete link more

Question Tools


Asked: 2012-07-28 21:34:08 -0500

Seen: 1,686 times

Last updated: Oct 04 '12