From: Chris Wilson <chris@netservers.co.uk>
To: System Administrator <sysadmin_lists@iwa-solutions.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Patch-o-matic help
Date: Mon, 7 Jul 2003 13:50:10 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.44.0307071345550.16552-100000@localhost> (raw)
In-Reply-To: <200307031501.00905.sysadmin_lists@iwa-solutions.com>
Hello, Mr Administrator,
> I have iptable 1.26 setup on a Redhat 8 server. This server also needs to
> function as a PPTP VPN server. It appears that PoPToP is the only reasonable
> way to acomplish that. I can get PoTPoP to work but I am told that I need to
> be able to pass GRE packets.
> It looks like there is a patch to do this but requires patch-o-matic.
> Looking at the README, it looks like I run a command called runme. and then
> recompile the Kernel.
> I'm yet to go through the recompile. Anybody willing to help the
> inexperienced become experienced?
You don't need any patch-o-matic, the functionality is built into iptables
since long ago. You just need to allow in Protocol 47 (GRE) as well as TCP
port 1723 (PPTP control channel). So the following rules should do it:
iptables -I INPUT -i <external-interface> -p tcp --dport 1723 -j ACCEPT
iptables -I INPUT -i <external-interface> -p 47 -j ACCEPT
If you only need connections from certain IP addresses, then you can
narrow this down in order to protect your PPTP server from intruders.
By the way, if you make a custom kernel with the PPTP NAT patch, then it
may cause problems with running a PPTP server on the same machine (at
least, I saw this in one case, but I didn't build that kernel so I don't
know exactly which patch was used).
Cheers, Chris.
--
___ __ _
/ __// / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
next prev parent reply other threads:[~2003-07-07 12:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-03 19:01 Patch-o-matic help System Administrator
2003-07-03 20:43 ` DROP command Remus
2003-07-07 12:50 ` Chris Wilson [this message]
2003-07-07 13:49 ` Patch-o-matic help Rob Sterenborg
-- strict thread matches above, loose matches on Subject: below --
2005-12-23 4:49 patch-o-matic help Noman Liaquat
2005-12-23 6:56 ` Noman Liaquat
2005-12-23 10:40 ` Jozsef Kadlecsik
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=Pine.LNX.4.44.0307071345550.16552-100000@localhost \
--to=chris@netservers.co.uk \
--cc=netfilter@lists.netfilter.org \
--cc=sysadmin_lists@iwa-solutions.com \
/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