Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Daniel Chemko <dchemko@smgtec.com>
To: Chris Miller <cmiller@compuville.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: PPTP reviisted
Date: Sun, 28 Sep 2003 00:27:32 -0700	[thread overview]
Message-ID: <3F768D64.3080703@smgtec.com> (raw)
In-Reply-To: <E1A3UZL-000289-3y@bear.dns-nac-zone.com>

[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]

If you want to enable conntrack for Linux you will need:

1. A Recent Kernel, I know anything later than 2.4.20 can work fine.
2. Kernel patches from pptpclient.sourceforge.net if you want the 
firewall itself setting up the pptp tunnel, if not, ignore this step
3. CVS download the netfilter code from netfilter.org
4. Apply the patch-o-matic directory to your kernel sources directory 
like so:
# KERNEL_DIR=/usr/src/<kerneldir> ./runme extra
5. Apply all patches that you really care for, but I would recommend 
anything that doesn't fail out on your configuration.Make sure to 
include the connectrack patch
6. Build the kernel with the new netfilter options turned on as modules
7. Install Kernel
8. Execute the following every time you want pptp (once per boot):
# modprobe ip_conntrack_proto_gre
# modprobe ip_nat_proto_gre
# modprobe ip_conntrack_pptp
# modprobe ip_nat_pptp

Chris Miller wrote:

> I've seen a few things in the netfilter archive about PPTP, but no one 
> has ever really said anything about getting it to work.
>
>  
>
> Here's the deal: I've got a Windows box (192.168.1.10) sitting behind 
> my Linux firewall. On the firewall runs Debian Woody with iptables 
> 1.2.6a. The Linux box acts as a NAT to all the hosts behind it. 
> Currently I forward TCP port 1723 to 192.168.1.10, but clients cannot 
> connect. I know it's got something to do with GRE?
>
>  
>
> I saw something on Google about an ip_conntrac_pptp module, or 
> something to that nature, but I've not been able to find it anywhere. 
> I'd love to compile it and give it a try if it's made to fix this issue.
>
>  
>
> So could someone fill me in with what my options are as far as getting 
> my VPN working through my NAT? What exactly is going on?
>
>  
>
>  
>
> Thanks,
>
>  
>
> Chris Miller
>
> Compuville Computers
>
> www.compuville.net
>
> 423.276.6692
>
>  
>

[-- Attachment #2: Type: text/html, Size: 5225 bytes --]

  reply	other threads:[~2003-09-28  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-28  5:56 PPTP reviisted Chris Miller
2003-09-28  7:27 ` Daniel Chemko [this message]
2003-09-29 19:26   ` Chris Miller
2003-09-29 23:58     ` Philip Craig
2003-09-29  3:34 ` REDIRECT incoming Port to IP Jon Pol
2003-09-29  4:14   ` Jon Pol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F768D64.3080703@smgtec.com \
    --to=dchemko@smgtec.com \
    --cc=cmiller@compuville.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox