Iptables - VPN throughpass
Hi,
I am having a bit of fun with getting VPN passthrough to work. My home router is using iptables to provide my network with NAT. I am trying to connect to my office network from home but I am failing.
My INPUT and OUTPUT chains are both empty and set to ACCEPT as default. My FORWARD is also set to ACCEPT but also contains this,
Chain FORWARD (policy ACCEPT 2649 packets, 527551 bytes)
pkts bytes target prot opt in out source destination
461 44158 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
My PREROUTING and OUTPUT in the nat table are emtpy and set to accept as default.
My POSTROUTING looks like this
Chain POSTROUTING (policy ACCEPT 73 packets, 15212 bytes)
pkts bytes target prot opt in out source destination
35 1832 MASQUERADE all -- * eth0 0.0.0.0/0 0.0.0.0/0
I have also loaded nf_conntrack_proto_gre, nf_conntrack_pptp, nf_nat_proto_gre and nf_nat_pptp but still no joy...
What am I missing?
edit: Should have said that it is a PPTP VPN and that I get as far as Registering computer on network before it crashes out. It crashes quiet quickly after authenticating so it doesnt feel like a timeout issue.
Thanks!
Last edited by Fredde87; 12-05-2008 at 09:16 AM.
|