Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Aldo S. Lagana" <alagana@discmail.com>
To: 'Marc Riddle' <mriddle@socal.rr.com>, netfilter@lists.samba.org
Subject: RE: PPTP through masquerading gateway
Date: Mon, 8 Jul 2002 15:15:47 -0400	[thread overview]
Message-ID: <000801c226b3$e66ab6f0$3864a8c0@discmail.com> (raw)
In-Reply-To: <001a01c226ab$9b5e3220$d4524b42@winxp>

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

Are you using the POM ip_conntrack_pptp module (or compiled into
kernel)?
 
I am fairly sure that NAT of any type 'breaks' PPTP connections, and the
above module is needed for you to NAT the PPTP connections...

-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org] On Behalf Of Marc Riddle
Sent: Monday, July 08, 2002 2:17 PM
To: netfilter@lists.samba.org
Subject: PPTP through masquerading gateway


I have read everything I can find on the subject and can't seem to find
a working solution anywhere. I have an NT 4.0 server running a PPTP
server inside a private network that is connected to the internet via a
linux 2.4 box running ip masquerading using iptables. the masquerading
works fine for clients to get out, but I'm trying to enable external
connections in to the PPTP server. currently I have the following rules
set up, as far as I can tell they should work, but I am unable to
establish a connection. The PPTP server is running on 10.1.1.15, and I
am able to connect to it from inside the router so I know that it is
running fine. I've been banging my head against a desk for about a week
now and nothing I've tried seems to work. Any advice would be greatly
appreciated. Thanks in advance. Oh yeah, currently the rules below are
the only rules set up for testing, so no incoming packets are being
filtered that I know of.
 
Thanks again,
 
Marc Riddle
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 1723 -j DNAT --to
10.1.1.15

iptables -t nat -A PREROUTING -i ppp0 -p 47 -j DNAT --to 10.1.1.15


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

  reply	other threads:[~2002-07-08 19:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-08 18:16 PPTP through masquerading gateway Marc Riddle
2002-07-08 19:15 ` Aldo S. Lagana [this message]
2002-07-08 20:54   ` Rowan Reid
2002-07-08 21:06     ` Aldo S. Lagana
2002-07-08 22:19       ` Rowan Reid
2002-07-08 22:31     ` R. Sterenborg
2002-07-08 23:44       ` Rowan Reid
2002-07-09  6:17         ` R. Sterenborg
     [not found] <200207091052.55364.fabrice@celestix.com>
2002-07-09  2:08 ` Rowan Reid
     [not found] <000a01c22798$9a5773d0$0401000a@win2k>
2002-07-09 22:35 ` Rowan Reid
2002-07-10  6:10   ` R. Sterenborg

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='000801c226b3$e66ab6f0$3864a8c0@discmail.com' \
    --to=alagana@discmail.com \
    --cc=mriddle@socal.rr.com \
    --cc=netfilter@lists.samba.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