All of lore.kernel.org
 help / color / mirror / Atom feed
* HELP PPTP CONNTRACK MULTIPLE CLIENTS
@ 2002-12-05 13:10 Adharsh Praveen R
  2002-12-05 19:58 ` Ilguiz Latypov
  0 siblings, 1 reply; 2+ messages in thread
From: Adharsh Praveen R @ 2002-12-05 13:10 UTC (permalink / raw)
  To: netfilter

Hai 

I am trying to get PPTP conntrack to work, but with no luck.

I tried with POM's pptp-conntrack-nat.patch (by Harald).

Every time I try to apply the patch it fails.

Finally some how I managed to apply the patch on my 2.4.18 kernel. I

use iptables-1.2.6a.

I have my PPTP server (192.168.1.219) internal to my LAN (eth0) and
clients in a different network.

I have a linux box where I applied the patch with IP address on one
interface

eth0  as 192.168.1.76 and another interface eth1  as 192.168.9.10.

I have two clients (Win 95) with their IP address as 192.168.9.1 and
other's

as 192.168.9.2.

The default gateway for these clients is set to 192.168.9.10.

I added a simple rule in my Linux box

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

From clients I am able to ping the other networks. ( I am able to ping
192.168.1.219).

When I tried to establish a pptp connection from 192.168.9.1 to
192.168.1.219.

The connection got established and client logged into the network.

The problem aroused here. when I tried from the second client
192.168.9.2 to

establish a pptp connection it failed. At any instant only one
connection is getting

established.

So thought the patch is no good so I downloaded a patch from

http://www.impsec.org/linux/masquerade/ip_masq_vpn.html

which is netfilter-pptp-2.4.17-rev2.patch.

when I tried to apply this patch it applied cleanly.

Now I tried the above mentioned setup again.

Again its the same case. I am not able to connect the second client.

At any instant only one client is getting connected.

I am caught in this loop.

I saw a patch in December's list from Philip.

I would like to know the steps involved in getting PPTP conntrack work.

Which patch I should apply first, is it the one from netfilter.org
pptp-conntrack-nat.patch?

When can I apply the patch given by philip?

What are the iptable rules I should add?

please guide me. I want to connect multiple PPTP clients.

Please explain the steps involved in this as I am a new to iptables /
conntrack.

Thanks in advance.

regards,
adharsh.


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

end of thread, other threads:[~2002-12-05 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-05 13:10 HELP PPTP CONNTRACK MULTIPLE CLIENTS Adharsh Praveen R
2002-12-05 19:58 ` Ilguiz Latypov

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.