All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: PPTP
@ 2003-10-28 17:00 Daniel Chemko
  2003-10-28 17:08 ` PPTP Ralf Braga
  0 siblings, 1 reply; 18+ messages in thread
From: Daniel Chemko @ 2003-10-28 17:00 UTC (permalink / raw)
  To: ralf, netfilter

I don't remember FreeSwan having PPTP, but if it does then great. Are you sure it isn't L2TP that the clients are connecting with?

Anyways, you will have to modify your kernel with Patch-O-Matic from the Netfilter CVS repository, and grab the userspace tools just in case you need to use those ones with your newly created kernel. The support for PPTP is still rather experimental. I haven't had problems with their latest code though.

Apply any patches in Patch-O-Matic that apply to pptp and GRE.
Recompile kernel
Build Userspace tools from CVS
Reboot
# depmod
# modprobe ip_conntrack_proto_gre
# modprobe ip_conntrack_pptp
# modprobe ip_nat_proto_gre
# modprobe ip_nat_pptp


Ideally, this should allow for multiple PPTP clients through your firewall at the same time.


-----Original Message-----
From: Ralf Braga [mailto:ralf@4linux.com.br] 
Sent: Tuesday, October 28, 2003 8:37 AM
To: netfilter@lists.netfilter.org
Subject: PPTP

Hi Friends,

A have a Gateway Gnu/Linux, Debian 3.0 rc1  with kernel 2.4.22, iptables 
1.2.8-8 and freeswan 2.02 in São Paulo and i have another Linux in 
Rio-de-Janeiro with Red-Hat 6.2, ipchains and the path-pptp. Clients in 
São Paulo have to conect in Rio-de-Janeiro throught PPTP and the problem 
its that the Server in Rio accepts only one connection.

In my Firewall here in São Paulo i'm put only one rule just to do the tests:

iptables -t nat -A POSTROUTING -j MASQUERADE

The chains in my FIREWALL are ACCEPT

Have I enable any rule or patch in kernel ?

I would like to know whats going on, cause the server in RIO just ACCEPT 
one connection. There is something that should i do? ... rules... path 
in my kernel.....



Thank you very much






^ permalink raw reply	[flat|nested] 18+ messages in thread
* pptp
@ 2007-08-11  7:59 Ammad Shah
  2007-08-12 21:41 ` pptp Rodrigo Montoro (Sp0oKeR)
  0 siblings, 1 reply; 18+ messages in thread
From: Ammad Shah @ 2007-08-11  7:59 UTC (permalink / raw)
  To: netfilter

Dear all,

i am using linux as firewall and proxy server, having some problem
regarding Microsoft VPN,
my network users connect Microsoft vpn server. the problem is only one
user is able to connect vpn, while othere can't do this at same time.

if i restart firewall, then any one can connect on First come first
server. but only one.
so i clear all rules, and default policy to ACCEPT, and used this rule

iptables -t nat -A POSTROUTING -i eth1 -s 10.0.0.0/24 -j MASQUERADE
iptables -A FORWARD -s 10.0.0.0/24 -j ACCEPT

i try this on 2.6(rhel 5) and 2.4 (rhel3)


^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <20041015063914.GA23147@plain.ev1servers.net>]
* PPTP
@ 2003-10-28 16:36 Ralf Braga
  0 siblings, 0 replies; 18+ messages in thread
From: Ralf Braga @ 2003-10-28 16:36 UTC (permalink / raw)
  To: netfilter

Hi Friends,

A have a Gateway Gnu/Linux, Debian 3.0 rc1  with kernel 2.4.22, iptables 
1.2.8-8 and freeswan 2.02 in São Paulo and i have another Linux in 
Rio-de-Janeiro with Red-Hat 6.2, ipchains and the path-pptp. Clients in 
São Paulo have to conect in Rio-de-Janeiro throught PPTP and the problem 
its that the Server in Rio accepts only one connection.

In my Firewall here in São Paulo i'm put only one rule just to do the tests:

iptables -t nat -A POSTROUTING -j MASQUERADE

The chains in my FIREWALL are ACCEPT

Have I enable any rule or patch in kernel ?

I would like to know whats going on, cause the server in RIO just ACCEPT 
one connection. There is something that should i do? ... rules... path 
in my kernel.....



Thank you very much





^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <000901c2fd21$3475f910$0205a8c0@maxima>]
* RE: PPTP
@ 2002-10-11 17:23 Sneppe Filip
  0 siblings, 0 replies; 18+ messages in thread
From: Sneppe Filip @ 2002-10-11 17:23 UTC (permalink / raw)
  To: Rickard Eriksson; +Cc: netfilter

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

Hi,

Rickard Eriksson [mailto:riceri@home.se] wrote:
>
>When i try to restart and load the modules i get a error, i didn't copy 
>it but it was something about "unresolved ... helper"
>And i can't find any setting in "make config" so that it shall make the 
>helper in any way.
>
>Do you know what i am talking  about :)
>

Vaguely :-)

Are you loading the modules with "insmod" or with "modprobe" ?
After a correct kernel compile you shouldn't get unresolved
symbols with modprobe. Although, iirc, there is a dependency
thingie with the pptp conntracker (modprobe ip_?_pptp doesn't
trigger the loading of ip_?_proto_gre, I think).

Can you try the following for pptp and load any other modules
with modprobe instead of insmod and report any problems:

modprobe ip_conntrack_proto_gre
modprobe ip_nat_proto_gre
modprobe ip_conntrack_pptp
modprobe ip_nat_pptp

This shouldn't give problems.

Regards,
Filip








[-- Attachment #2: Type: text/html, Size: 1557 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: PPTP
@ 2002-10-10 21:20 Sneppe Filip
  2002-10-11  9:27 ` PPTP Rickard Eriksson
  0 siblings, 1 reply; 18+ messages in thread
From: Sneppe Filip @ 2002-10-10 21:20 UTC (permalink / raw)
  To: Rickard Eriksson, netfilter

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

Rickard Eriksson [mailto:riceri@home.se] wrote:
>
>
>Do i need newest iptables to get the modules to work?
>

Hi,

No, not with these types of modules (conntrack/nat helpers).
We're only talking kernel code here. You need to run the
correct iptables if you are adding match and target extensions.

Regards,
Filip






[-- Attachment #2: Type: text/html, Size: 807 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: PPTP
@ 2002-10-09 18:51 Sneppe Filip
  2002-10-09 20:25 ` PPTP Rickard Eriksson
  0 siblings, 1 reply; 18+ messages in thread
From: Sneppe Filip @ 2002-10-09 18:51 UTC (permalink / raw)
  To: Rickard Eriksson, netfilter

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

Rickard Eriksson [mailto:riceri@home.se] wrote:
>
>The z-newnet patch? I can't install that patch.
>
>BTW, this is the first time i am patching a kernel.
>

Hi Rickard,

What kernel version are you working from ? 
Basically, newnat is a new API for writing connection tracking/nat
modules.

The patch has been sitting in p-o-m for a long time now, and all the
modules from recent iptables have been converted to work with newnat
and don't apply on kernels witout newnat.

Newnat has been included in the early 2.4.20-pre kernels, so from 
2.4.20 (or the -pre releases if you don't mind running these) onwards,
there will be no need to patch the kernel with newnat support anymore
before adding conntrackers.

Now, if you're working from a pre-2.4.20 kernel, you need to download
iptables or check out CVS, then from the patch-o-matic directory
run "./runme *" and apply the newnat patch before trying any 
conntrackers. That sould do the trick. You may need to apply some
additional stuff. IIRC, the pptp patch also needs an "unregister"
fix of some kind that's probably in p-o-m/pending or /submitted.

Good luck,
Filip





[-- Attachment #2: Type: text/html, Size: 1714 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: PPTP
@ 2002-10-09 15:04 Sneppe Filip
  2002-10-09 15:31 ` PPTP Rickard Eriksson
  0 siblings, 1 reply; 18+ messages in thread
From: Sneppe Filip @ 2002-10-09 15:04 UTC (permalink / raw)
  To: Rickard Eriksson, netfilter

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

Rickard,

>When i try to install the pptp-conntrack module i get this error:
>
>Testing patch extra/pptp-conntrack-nat.patch...
>    Placed new Config.in line
>    Placed new Configure.help entry
>    Placed new Makefile line
>    Placed new Makefile line
>    Placed new ip_conntrack.h line
>    Placed new ip_conntrack.h line
>Could not find place to slot in ip_conntrack.h line
>Could not find place to slot in ip_conntrack.h line
>Could not find place to slot in ip_conntrack.h line
>Could not find place to slot in ip_conntrack.h line
>Could not find place to slot in ip_conntrack.h line
>Could not find place to slot in ip_conntrack.h line
>TEST FAILED: patch NOT applied.
>
>
>anyone know whats wrong?

You *are* applying this to a kernel with newnat support, aren't you ?

Regards,
Filip



[-- Attachment #2: Type: text/html, Size: 1431 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* PPTP
@ 2002-10-09 11:57 Rickard Eriksson
  0 siblings, 0 replies; 18+ messages in thread
From: Rickard Eriksson @ 2002-10-09 11:57 UTC (permalink / raw)
  To: netfilter

When i try to install the pptp-conntrack module i get this error:

Testing patch extra/pptp-conntrack-nat.patch...
    Placed new Config.in line
    Placed new Configure.help entry
    Placed new Makefile line
    Placed new Makefile line
    Placed new ip_conntrack.h line
    Placed new ip_conntrack.h line
Could not find place to slot in ip_conntrack.h line
Could not find place to slot in ip_conntrack.h line
Could not find place to slot in ip_conntrack.h line
Could not find place to slot in ip_conntrack.h line
Could not find place to slot in ip_conntrack.h line
Could not find place to slot in ip_conntrack.h line
TEST FAILED: patch NOT applied.



anyone know whats wrong?




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

end of thread, other threads:[~2007-08-12 22:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-28 17:00 PPTP Daniel Chemko
2003-10-28 17:08 ` PPTP Ralf Braga
  -- strict thread matches above, loose matches on Subject: below --
2007-08-11  7:59 pptp Ammad Shah
2007-08-12 21:41 ` pptp Rodrigo Montoro (Sp0oKeR)
2007-08-12 22:58   ` pptp Pascal Hambourg
     [not found] <20041015063914.GA23147@plain.ev1servers.net>
2004-10-15 14:10 ` pptp Jason Opperisano
     [not found]   ` <20041015162541.GA23125@plain.ev1servers.net>
2004-10-15 19:19     ` pptp Jason Opperisano
2003-10-28 16:36 PPTP Ralf Braga
     [not found] <000901c2fd21$3475f910$0205a8c0@maxima>
2003-04-07 21:08 ` PPTP Harald Welte
2002-10-11 17:23 PPTP Sneppe Filip
2002-10-10 21:20 PPTP Sneppe Filip
2002-10-11  9:27 ` PPTP Rickard Eriksson
2002-10-09 18:51 PPTP Sneppe Filip
2002-10-09 20:25 ` PPTP Rickard Eriksson
2002-10-10 16:20   ` PPTP Rickard Eriksson
2002-10-09 15:04 PPTP Sneppe Filip
2002-10-09 15:31 ` PPTP Rickard Eriksson
2002-10-09 11:57 PPTP Rickard Eriksson

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.