PPTP VPN and firewall config problems
I want to use PPTP rather than OpenVPN as I can use it directly from my phone or windows without any extra installs.
I've been using this script for awhile to install and configure PPTPd and it works fine: http://www.putdispenserhere.com/pptp-debian-ubuntu-openvz-setup-script/
Fine that is until I want to firewall my server with iptables. I use Firehol to configure iptables as its a lot easier for a noob like me.
I have tested my config of everything by stopping firehol, which purges everything, and then doing
iptables -t nat -A POSTROUTING -j SNAT --to-source 22.214.171.124
And everything works, VPN connects and i can browse the net etc with the IP address of my VPS, so I'm happy that the PPTPd config etc is right.
If i then start firehol, it stops working. I can still connect to the VPN and access the server, but browsing just times out. Firehol allows you to pass iptables commands so that's what I've done to set up the SNAT command above.
Firehol config: http://pastebin.com/re4MCchD
Iptables output with firehol stopped and VPN working: http://pastebin.com/W6mr22VP
Iptables output with firehol enabled and VPN connected but not allowing browsing: http://pastebin.com/6HaY4SpZ
Server is Debian 6 btw and i have changed my servers Ip to 126.96.36.199 in the various pastes
Really would appreciate some input from you guys.