Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have subscribed to a VPN service, but it seems that it does not work whenever my firewall is active.

I have up until now used Firestarter to configure my firewall, but it has no options for allowing a VPN connection. Nor does gufw.

What do I do to keep my firewall active, and still be able to connect to my VPN?

share|improve this question

Please check this link; Hope it helps

share|improve this answer
Thank you for this suggestion. It does look promising, but the instructions in that link are very heavily tied to using VPNC, which I am not using. A more general solution would be good. – Questioner Oct 9 '12 at 4:31
up vote 1 down vote accepted

Found a solution that works with Firestarter.

I use OpenVPN, so I opened /etc/firestarter/user-pre and added the following lines:

# Allow traffic on the OpenVPN inteface
$IPT -A INPUT -i tun+ -j ACCEPT
$IPT -A OUTPUT -o tun+ -j ACCEPT

Then I restarted the firewall. Stopping it and starting it within the Firestarter interface seemed to suffice.

The solution was here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.