From: Hampus Soderstrom <hampus.soderstrom@aptilo.com>
To: netfilter@lists.netfilter.org
Subject: PPTP, newnat and masquerading not working
Date: Fri, 28 Feb 2003 17:17:17 +0100 [thread overview]
Message-ID: <3E5F8B8D.50705@aptilo.com> (raw)
Hi,
I want to use PPTP behind a masquerading router but I have problems
getting it to work.
This is how I install masquerading PPTP:
1. I upack a vanilla kernel-2.4.20
2. I patch with newnat
(http://roeder.goe.net/~koepi/newnat/helpers-2.4.20.patch.gz)
3. I do a make menuconfig and add PPTP and GRE Proto support
4. I install iptables v1.2.7a
5. I do the rest of the kernel building (make dep && make modules &&
make modules_install && make bzImage).
6. I fix my lilo and reboot with the new kernel.
7. I add masquerading with iptables:
iptables -I POSTROUTING -t nat --jump MASQUERADE
8. I add portforwarding (/proc/sys/net/ipv4/ip_forward)
9. I modprobe ip_nat_pptp and verify that ip_nat_pptp and
ip_nat_proto_gre is loaded with lsmod.
Now I have a setup that looks like this:
PPTP Client1 ===> Masquerading Router ===> PoPToP Server
PPTP Client2 ===>
8. I start upp pptp in a win2k machine (Client1) I get:
error: 619 The specified port is not connected and error 651.
I have verified that masquerading works for http and that pptp works if
I bypass the Masquerading router.
What have I overlooked in getting it to work?
/Hampus
reply other threads:[~2003-02-28 16:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3E5F8B8D.50705@aptilo.com \
--to=hampus.soderstrom@aptilo.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.