Hi all.  I need a little help with local/remote ppp authentication and IP
assignment

I have a linux box configured with pptpd (PopTop)

This is working fine for Windows clients the /etc/ppp/chap-secrets file
looks like this:
client1    *    xyzzy    *
client2    *    xyzzy    *
The machine name is say sydney.domain.com
My pptpd.conf file says localaddress in Sydney is 192.168.2.1 remotes are
from 192.168.2.250-254
If I modify the chap secrets file to say
client2    *    xyzzy    192.168.2.254
This works ok, ie the client2 will always gets the same address (when tested
with a windoze box)


I have installed pptpd on another Linux , this is also working fine for
Windoze
The machine name is say melbourne.domain.com  I want it to maintain a tunnel
to the sydney box
I have installed pptp and configured the chap-secrets file on this melbourne
system as so:
client2    sydney.domain.com    xyzzy    *

I launch pptp as so:

pptp sydney.domain.com debug name client2 remotename sydney.domain.com

The message I get in the log in Melbourne is:

Apr  5 02:02:10 melbourne pppd[1011]: Using interface ppp1
Apr  5 02:02:10 melbourne pppd[1011]: Connect: ppp1 <--> /dev/ttya0
Apr  5 02:02:13 melbourne pppd[1011]: Remote message: Welcome to
sydney.domain.com
Apr  5 02:02:13 melbourne pppd[1011]: Peer is not authorized to use remote
address 192.168.2.1
Apr  5 02:02:13 melbourne pppd[1011]: Deflate (15) compression enabled
Apr  5 02:02:16 emelbourne pppd[1011]: Connection terminated.
Apr  5 02:02:16 melbourne pppd[1011]: Connect time 0.1 minutes.
Apr  5 02:02:16 melbourne pppd[1011]: Sent 270 bytes, received 307 bytes.
Apr  5 02:02:17 melbourne pppd[1011]: Exit.

I still get the message if I try :
pptp sydney.domain.com debug name client2 remotename sydney.domain.com
192.168.2.254:192.168.2.1

I guess it's just one more option somewhere, but It's late and I'm stuck.
Any help would be appreciated.

TIA Ian
(time for bed)


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to