Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "A. Sayler" <asayler@qorvus.net>
To: netfilter@lists.netfilter.org
Subject: PPTP Server and PPTP clients on a firewalled gateway
Date: Sat, 4 Dec 2004 16:30:25 -0800	[thread overview]
Message-ID: <001b01c4da61$9df07180$0401a8c0@dell> (raw)

Hi,

If anybody might some insight into this problem I would certainly appreciate it.

I have multiple wireless clients that need access to outside corporate VPN servers through my system.  I also have a PPTP server listening on the local gateway host for other users to connect to our internal network from outside.

I have a 2 NIC system. 

I have an internal interface of WLAN0 and the external interface of ETH0.

I have made sure to load the following modules...
ip_conntrack_proto_gre
ip_conntrack_pptp
ip_nat_pptp
ip_nat_proto_gre

I have added the following commands to the rest of my firewall rules

iptables -I INPUT -p 47 -j ACCEPT
iptables -I INPUT -p tcp --dport 1723 -j ACCEPT

iptables -I OUTPUT -p 47 -j ACCEPT
iptables -I OUTPUT -p tcp --dport 1723 -j ACCEPT

iptables -I FORWARD -p 47 -j ACCEPT
iptables -I FORWARD -p tcp --dport 1723 -j ACCEPT

iptables -I FILTER -p 47 -j ACCEPT
iptables -I FILTER -p tcp --dport 1723 -j ACCEPT

I'm masquerading all connections out.

currently the clients can get out and connect properly but the outside clients trying to connect to our local system via the PPTP server on the gateway box can not get a connection.

I think it has something to do with how I'm routing the connection to the local host but I'm not sure what I need to change. Or is this even possible?

Any thoughts?

Thanks,
Adam

             reply	other threads:[~2004-12-05  0:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-05  0:30 A. Sayler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-12-06  0:58 PPTP Server and PPTP clients on a firewalled gateway Gary W. Smith
2004-12-05  0:14 A. Sayler

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='001b01c4da61$9df07180$0401a8c0@dell' \
    --to=asayler@qorvus.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