LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2008, 08:50 AM   #1
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Rep: Reputation: 30
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.
 
Old 12-05-2008, 11:59 AM   #2
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Original Poster
Rep: Reputation: 30
Stupid VPN server, it had locked up, noticed that I couldnt get connected even though I was connected straight to the internet. After restarting it it connected fine. Just a few hours wasted fault finding :P

Thx anyway
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables and VPN dellcom1800 Linux - Networking 3 06-05-2008 07:59 AM
vpn behind iptables kris2002 Linux - Networking 3 06-26-2005 10:18 AM
iptables VPN bentman78 Linux - Software 0 05-03-2004 07:27 AM
VPN / Iptables a_borg1 Linux - Networking 0 08-13-2003 07:20 PM
iptables and vpn buttnutt Linux - Security 1 05-29-2002 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration