Skip to contentSkip to conversation

PPTP through iptables FW...

DISCUSSION Aldo S. Lagana 2 participants 6 messages Jul 1, 2002

lore
Share & tools
lore
#0 lore raw

I haven't looked into this, but is there a method to connect to a pptp server from behind an iptables firewall? I have seen glimpses of persons using something called ip_conntrack_pptp (sp?) and that seems it will fit the bill...not sure..here is ASCII art:

Client-----IPTABLES Firewall------INTERNET--------Remote PPTP server------Server

I am currently using IPTables 1.2.5

#1 lore raw
Quoted 8 lines

I haven't looked into this, but is there a method to connect to a pptp server from behind an iptables firewall? I have seen glimpses of persons using something called ip_conntrack_pptp (sp?) and that seems it will fit the bill...not sure..here is ASCII art:

Quoted 5 lines

Client-----IPTABLES Firewall------INTERNET--------Remote PPTP server------Server

I am currently using IPTables 1.2.5

I guess I'll just share what I have learned. The below link details pptp filtering.
I'm not familiar with conntrack_pptp (assuming this is a module) The method I have beeb
Following is transpaerent but is compiled in as a kernel patch kernel 2.4.17 or earlier.
Thus far I'm not getting a stable setup. Ie no filtering thus far. Wouldn’t' mind working on this one.

ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html

#2 lore raw
Quoted 23 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Rowan Reid
Sent: Monday, July 01, 2002 11:56 AM
To: 'Aldo S. Lagana'; [email protected]
Subject: RE: PPTP through iptables FW...

Quoted 11 lines

I haven't looked into this, but is there a method to connect to a pptp server from behind an iptables firewall? I have seen glimpses of persons using something called ip_conntrack_pptp (sp?) and that seems it will fit the bill...not sure..here is ASCII art:

Client-----IPTABLES Firewall------INTERNET--------Remote PPTP server------Server

I am currently using IPTables 1.2.5

Quoted 8 lines

I guess I'll just share what I have learned. The below link details pptp filtering. I'm not familiar with conntrack_pptp (assuming this is a module) The method I have beeb Following is transpaerent but is compiled in as a kernel patch kernel 2.4.17 or earlier. Thus far I'm not getting a stable setup. Ie no filtering thus far. Wouldn't' mind working on this one.

ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html

Yes I have seen that method for some time now, but I have heard that it doesn't work very well?
I have seen some discussions on this group about that conntrack module (I think it's a P-O-M module) and was hoping that it did the same thing as that VPN masquerade link you sent...

#3 lore raw
Quoted 7 lines

Yes I have seen that method for some time now, but I have heard that it doesn't work very well?
I have seen some discussions on this group about that conntrack module (I think it's a P-O-M module) and was hoping that it did the same thing as that VPN masquerade link you sent...

That would be good if we could find a link. I am at the point of reverting to a
2.2.x Kernel and using IPCHAINS since it's proven you know. But I would much
Prefer to use 2.4.x

#4 lore raw

Here is what I found on the Netfilter site:

pptp-conntrack-nat
Author: Harald Welte <[email protected]>
Status: Beta

This adds CONFIG_IP_NF_PPTP:
Connection tracking and NAT support for PPTP.

Note that this code currently has limitations
- can only NAT connections from PNS to PAC
- doesnt' support multiple calls within one session

Here's the link:
http://netfilter.samba.org/documentation/pomlist/pom-extra.html#pptp-con
ntrack-nat

Quoted 22 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Rowan Reid
Sent: Monday, July 01, 2002 12:44 PM
To: 'Aldo S. Lagana'; [email protected]
Subject: RE: PPTP through iptables FW...

Quoted 5 lines

Yes I have seen that method for some time now, but I have heard that it doesn't work very well?
I have seen some discussions on this group about that conntrack module (I think it's a P-O-M module) and was hoping that it did the same thing as that VPN masquerade link you sent...

That would be good if we could find a link. I am at the point of reverting to a
2.2.x Kernel and using IPCHAINS since it's proven you know. But I would much Prefer to use 2.4.x

#5 lore raw
Quoted 7 lines

This adds CONFIG_IP_NF_PPTP:
Connection tracking and NAT support for PPTP.

Note that this code currently has limitations
- can only NAT connections from PNS to PAC
- doesnt' support multiple calls within one session

PNS to PAC ?? What does that mean.
Multiple calls within one session. Can anyone lend som elight on this ?