PPTP VPN blocked by firewall


I need to connect to a PPTP VPN, right now the only way I could do it was by disabling my firewall. I imagine the right aproach would be to add a rule to the firewall, only I’m a complete newbee on the subject, so much that I couldn’t even understand what was beeing done on the instructions I managed to find on the web. So how should I go about solving this ?

As far as I can remember, there is an issue with pptp. Actually it is not a bug, but some default value in how the connection is handled (don’t blame me, I’m not an expert), and not strictly a firewall rule.

The solution was to issue this command:

sudo sysctl net.netfilter.nf_conntrack_helper=1

Then retry to connect.

If it works, let’s set it permanent, in order to survive to reboots:

echo net.netfilter.nf_conntrack_helper=1 | sudo tee /etc/sysctl.d/98-nf_conntrack.conf

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.