Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Wim Ceulemans <wim.ceulemans@able.be>
To: Harald Welte <laforge@netfilter.org>
Cc: Netfilter Development Mailinglist
	<netfilter-devel@lists.netfilter.org>,
	Netfilter Mailinglist <netfilter@lists.netfilter.org>
Subject: Re: New Version (1.13) of PPTP conntrack/nat helper
Date: Tue, 23 Sep 2003 15:38:15 +0200	[thread overview]
Message-ID: <3F704CC7.7060508@able.be> (raw)
In-Reply-To: <20030922203033.GD31401@sunbeam.de.gnumonks.org>

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

Hi Harald

Thanks for the patch.

I tried patch-o-matic-20030922 with kernel 2.4.22 and connection to the 
PPTP server seems to work reliable now. Before this patch, connecting 
from a winxp machine did  succeed one out of 2 times, now it always 
succeeds.

However, I also tried forwarding port 1723 and gre to a pptp server 
(win2000) behind the firewall. And there seems to be a problem with 
forwarding of the gre protocol. The connection to port 1723 behind the 
firewall succeeeds, but I don't see gre packets pass the firewall. I 
added these rules:

iptables -t nat -A  PREROUTING -p TCP -d <wanip> --dport 1723 -j DNAT 
--to <winip>:1723
iptables -t nat -A  PREROUTING -p GRE -d <wanip> -j DNAT --to <winip>
iptables -A FORWARD -p TCP -d <winip> --dport 1723 -j ACCEPT
iptables -A FORWARD -p GRE -d <winip> -j ACCEPT

The following modules are loaded:

ppp_mppe               20152   0  (autoclean)
ppp_async               6368   0  (autoclean)
ip_nat_proto_gre        1284   0  (unused)
ip_nat_pptp             1836   0  (unused)
ip_nat_irc              2384   0  (unused)
ip_nat_h323             2604   0  (unused)
ip_nat_ftp              3024   0  (unused)
ipsec_aes              31880   0  (unused)
ipsec                 252608   2  [ipsec_aes]
ipt_REDIRECT             824   1  (autoclean)
ipt_MASQUERADE          1240   1  (autoclean)
ipt_TCPMSS              2424   1  (autoclean)
ipt_unclean             6776   2  (autoclean)
ipt_limit                952   2  (autoclean)
ipt_LOG                 3224   5  (autoclean)
ipt_state                600   8  (autoclean)
ipt_multiport            632  11  (autoclean)
ip_conntrack_pptp       2320   1
ip_conntrack_proto_gre    2004   0  [ip_nat_pptp ip_conntrack_pptp]
ip_conntrack_irc        3120   1
ip_conntrack_h323       2320   1
ip_conntrack_ftp        3824   1
iptable_mangle          2192   1
iptable_nat            14424   6  [ip_nat_proto_gre ip_nat_pptp 
ip_nat_irc ip_nat_h323 ip_nat_ftp ipt_REDIRECT ipt_MASQUERADE]
ip_conntrack           16352   7  [ip_nat_pptp ip_nat_irc ip_nat_h323 
ip_nat_ftp ipt_REDIRECT ipt_MASQUERADE ipt_state ip_conntrack_pptp 
ip_conntrack_proto_gre ip_conntrack_irc ip_conntrack_h323 
ip_conntrack_ftp iptable_nat]
iptable_filter          1700   1
ip_tables              10968  13  [ipt_REDIRECT ipt_MASQUERADE 
ipt_TCPMSS ipt_unclean ipt_limit ipt_LOG ipt_state ipt_multiport 
iptable_mangle iptable_nat iptable_filter]
ppp_deflate             2936   0
zlib_inflate           18308   0  [ppp_deflate]
zlib_deflate           17624   0  [ppp_deflate]
bsd_comp                4024   0
ppp_generic            19168   0  [ppp_mppe ppp_async ppp_deflate bsd_comp]
slhc                    4480   0  [ppp_generic]
8139too                13448   3
mii                     2224   0  [8139too]


Regards
Wim

Harald Welte wrote:

>Hi!
>
>I've just released the long-awaited new version of the PPTP
>conntrack/NAT helper.  It can be found in the current patch-o-matic CVS,
>or in the CVS snapshot that is going to be created tonight
>(patch-o-matic-20030922).
>
>It has been working in my test network with four PPTP clients, in mixed
>DNAT, SNAT and local (i.e. terminated on a PPTPD on the NAT gw itself)
>connection setup - both with and without CONFIG_IP_NF_NAT_LOCAL.
>
>Please feel free to test this new patch and report any bugs/errors back
>to me.
>
>Thanks to everybody who has contibuted to the PPTP helper in the past,
>and thanks for your patience in waiting for this release.
>
>  
>


-- 
Wim Ceulemans
R&D Engineer

Secure Internet Communication with aXs Guard

Able NV
Leuvensesteenweg 282 - B-3190 Boortmeerbeek - Belgium
Phone: + 32 15 50.44.00 - Fax: + 32 15 50.44.09
E-mail: wim.ceulemans@able.be



--
Security check on this e-mail has been done by aXs GUARD
(http://www.axsguard.com)


  reply	other threads:[~2003-09-23 13:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22 20:30 New Version (1.13) of PPTP conntrack/nat helper Harald Welte
2003-09-23 13:38 ` Wim Ceulemans [this message]
2003-09-23 14:49   ` Harald Welte
2003-09-23 16:25     ` Wim Ceulemans
2003-09-24 10:13       ` Harald Welte
2003-09-24 11:42         ` Wim Ceulemans
2003-09-24 16:34           ` Wim Ceulemans

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=3F704CC7.7060508@able.be \
    --to=wim.ceulemans@able.be \
    --cc=laforge@netfilter.org \
    --cc=netfilter-devel@lists.netfilter.org \
    --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