View Single Post
Old 03-23-2013, 02:59 PM
poorgrad poorgrad is offline
L5: Journeyman
  • Jan 2008
  • 646
  • 114 poorgrad will become famous soon enough
  • 0
Quote from SlickFerret View Post :
I found an article on it...
I was able to mostly follow these instructions and get pptp to work with ufw.

First, you need to apply the ufw [] hacks to get it to work.

The instructions on this page are a bit garbled about what to put in /etc/ufw/before.rules. I put in
# NAT table rules
# Allow forward traffic to venet0:0
-A POSTROUTING -j SNAT --to-source <VPS ip_address>

# Process the NAT table rules
This has a side effect though. Everytime to enable ufw it will add the SNAT rule to iptables. It never gets removed so you'll have duplicate rules until you reboot.