[pptp-server] Multiple clients

David LANDGREN dlandgre at bpinet.com
Tue Feb 13 11:31:43 CST 2001


Hello,

I have a pptp setup that is nearly perfect, except that multiple people are
meant to be able to use it, but as things stand only one person at a time
is able to.

My ppp.conf file looks, in part, like this

pptp:
 set log phase lcp ipcp debug tun command
 set timeout 0
 set speed 115200
 set ifaddr 192.168.4.1/24 192.168.5.1/24 255.255.255.0
 set server /tmp/pptploop%d "" 0177

That is, the remote and local addresses are from 192.168.4.1 to
192.168.4.254 and 192.168.5.1 to 192.168.5.254. The /tmp/pptploop%d works
correctly, I see sockets being created, named pptploop0 pptploop1 and so
on.

The problem, however, is that the second and subsequent connection also
wants to use the remote and local addresses 192.168.4.1 and 192.168.5.1
instead of, say 192.168.4.2 and 192.168.5.2. I've tried fiddling with the
address mask, 255.255.255.255 or 255.255.255.0 but that doesn't have any
effect. Thus, the only address that gets attributed is 192.168.4.1, hence
only one person at a time.

What is the error of my ways?

Thanks,
David





More information about the pptp-server mailing list