From: "Carl Girard" <solo@digitalbullets.com>
To: netfilter@lists.samba.org
Subject: PPTP behind iptables.
Date: Wed, 10 Jul 2002 04:56:32 -0700 [thread overview]
Message-ID: <003301c22808$d56683b0$b8ea0344@DIGITALBULLETS.LAN> (raw)
I am trying to get a Window2000 Server VPN (PPTP) server behind my linux
firewall to work. I have been able to forward web trafic to the internal
server just for testing.
I currently have this for NAT...
iptables -t nat -A POSTROUTING -s 172.20.40.0/24 -o eth0 -j MASQUERADE
And this for the forwarding of traffic on port 1723 (PPTP)...
iptables -t nat -A PREROUTING -p tcp --dport 1723 -i eth0 -j DNAT --to
172.20.40.2
I know that PPTP uses GRE (protocol 47) after the connection is made. The
connection is initiated with a tcp connection to port 1723.
When I initiate a connection from a VPN PPTP client it gets as far as
authentication. It finds the server and the server responds asking for
authentication information. After that it dies.
eth0 - 68.3.233.69 (internet connection)
eth1 - 172.20.40.1 (lan connection)
ip of internal PPTP server - 172.20.40.2
Any help would be great. Let me know if more information is needed.
Thanks,
Carl
next reply other threads:[~2002-07-10 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-10 11:56 Carl Girard [this message]
2002-07-10 12:17 ` PPTP behind iptables 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='003301c22808$d56683b0$b8ea0344@DIGITALBULLETS.LAN' \
--to=solo@digitalbullets.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