All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: DNAT pptp to windows machine
@ 2005-08-02 21:35 J.T. Moore
  2005-08-03  6:11 ` Ming-Ching Tiew
  0 siblings, 1 reply; 4+ messages in thread
From: J.T. Moore @ 2005-08-02 21:35 UTC (permalink / raw)
  To: netfilter

You will need to DNAT inbound traffic to TCP port 1723 and the GRE
protocol (IP Protocol 47). Any nat or conntracking of GRE requires the
PPTP connection tracking and NAT helper patch for iptables and kernel
pacth from the iptables patch-o-matic next generataion (pom-ng) extra's
repository. This patch was recently broken on 2.6.11 and newer kernels,
but the latest notes in netfilter-svn say that its been fixed and will work 
on 2.6.11 and newer.

Your safest bet is to install poptop on the firewall machine. If you want
to poptop use and/or require mppe encryption, I suggest using the 
dkms rpm packages to patch the kernel if your distro supports rpms
so that you want have to manually patch the kernel or rebuild the modules
everytime a new kernel is released.

All of the poptop and dkms packages can be found on source forge
at: http://sourceforge.net/projects/poptop/

J.T.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: DNAT pptp to windows machine
@ 2005-08-02 15:12 Gary W. Smith
  0 siblings, 0 replies; 4+ messages in thread
From: Gary W. Smith @ 2005-08-02 15:12 UTC (permalink / raw)
  To: Sadus ., netfilter

First, you only need to post one time. 

To answer this question, you need a little additional background on your
environment.  Will it be the firewall making the connection?  What OS
version?  ETC.

If you are just doing straight NAT'ing of firewall IP to the back end
PPTP server then you shouldn't need to do anything more than setup the
NAT rules and ensure that the firewall is allowing the traffic
(including GRE).  I think that NAT'ing GRE is the difficult part but I
usually use a dedicated IP for the PPTP servers and NAT the entire IP.

Alternatively, you can install POPTOP on your firewall.

Gary

> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org [mailto:netfilter-
> bounces@lists.netfilter.org] On Behalf Of Sadus .
> Sent: Tuesday, August 02, 2005 12:58 AM
> To: netfilter@lists.netfilter.org
> Subject: DNAT pptp to windows machine
> 
> Hello,
> I would like to DNAT to a pptp server, what rules/protocols/ports
should
> i use? do i need to recompile the kernel?
> 
> Thanks
> 
> EL-KHOUJA Haytham
> ----------------------------------------------------------
> sadus@swiftbin.net
> ----------------------------------------------------------
> Please avoid sending me Word or PowerPoint attachments.
> See: http://www.gnu.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-03  6:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 21:35 DNAT pptp to windows machine J.T. Moore
2005-08-03  6:11 ` Ming-Ching Tiew
2005-08-03  6:25   ` Philip Craig
  -- strict thread matches above, loose matches on Subject: below --
2005-08-02 15:12 Gary W. Smith

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.