Technical Discussion
  >> Linux Issues


Register (or login) on our website and you will not see this ad.


  Print Thread
Standard User Spasch
(fountain of knowledge) Sat 07-Jan-12 06:52:05
Print Post

VPN Firewall Issues


[link to this post]
 
I've set up PPTP on my OpenSuse box as I like to encrypt my traffic when using open WiFi hotspots.

Initially, all went well and I managed to make a VPN connection and surf the web. I had a small issue the other day which required me to reboot the box. Now, I can make a VPN connection, but no outbound traffic is getting out.

IPTables looks like this:
-A INPUT -p tcp -m tcp -i eth0 --dport 1723 -j ACCEPT
# PPTP Gre
-A INPUT -p gre -i eth0 -j ACCEPT
-A FORWARD -i eth0 -o ppp+ -j ACCEPT
-A FORWARD -i ppp+ -o eth0 -j ACCEPT


Thoughts?
Standard User MacTaff
(knowledge is power) Tue 10-Jan-12 13:06:13
Print Post

Re: VPN Firewall Issues


[re: Spasch] [link to this post]
 
I have had a similar problem with forwarding not working after a reboot due to /proc/sys/net/ipv4/ip_forward being set to 0 (needs to be 1 to enable forwarding).
Solved by putting echo 1 > /proc/sys/net/ipv4/ip_forward in my boot.local.
Standard User Spasch
(fountain of knowledge) Tue 10-Jan-12 14:53:25
Print Post

Re: VPN Firewall Issues


[re: MacTaff] [link to this post]
 
Thanks - tried that but still nothing doing.. frown


Register (or login) on our website and you will not see this ad.

Standard User Spasch
(fountain of knowledge) Thu 23-Feb-12 10:11:59
Print Post

Re: VPN Firewall Issues


[re: Spasch] [link to this post]
 
I finally got around to revisiting this issue (sometime life just gets in the way). And I now have it working. It was definitely something odd with the firewall as tunnelling through SSH with PuTTY had also stopped working, but is all well now.

I ended up flushing all the rules to do with the VPN and setting them up fresh. I've now put the iptables.save in a safe place. smile
Standard User alanwade
(newbie) Mon 01-Oct-12 06:27:29
Print Post

Re: VPN Firewall Issues *DELETED*


[re: Spasch] [link to this post]
 
Post deleted by billford
Moderator billford
(moderator) Mon 01-Oct-12 08:55:31
Print Post

Re: VPN Firewall Issues *DELETED*


[re: alanwade] [link to this post]
 
Advertising is not permitted.

Bill
bill@thinkbroadband.com __________________Planes and Boats and ... __________________BQM
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
  Print Thread

Jump to