[pptp-server] Can't Find PDC ?!?

Alan Chung alan at silveregg.co.jp
Tue Oct 3 03:45:59 CDT 2000


Hi, Tim,

It will be REALLY helpful if you can help me with this.

I have just read your mail about PDC.  And it seems that you have got the 
VPN pptp working through Linux ipchains.  I have been looking for help 
around many mailing list but no one out there have had a good solution.  My 
connection to pptpd server was successfully tested LOCALLY but when I put 
it behind ipchains box, it doesn't work with a 650 error which means the 
package isn't going through properly.  Here is my chains for VPN,

$REMOTENET=0/0
$OUTERNET=external IP/netmask
$LOCALNET=192.168.0.0/24

$IPCHAINS -A input -p tcp -s $REMOTENET -d $OUTERNET 1723 -j ACCEPT
$IPCHAINS -A input -p udp -s $REMOTENET -d $OUTERNET 1723 -j ACCEPT
$IPCHAINS -A input -p 47  -s $REMOTENET -d $OUTERNET      -j ACCEPT

$IPCHAINS -A output -p tcp -s $OUTERNET -d $REMOTENET 1723 -j ACCEPT
$IPCHAINS -A output -p udp -s $OUTERNET -d $REMOTENET 1723 -j ACCEPT
$IPCHAINS -A output -p 47  -s $OUTERNET -d $REMOTENET      -j ACCEPT

$IPCHAINS -A forward -p tcp -s $LOCALNET -d $OUTERNET 1723 -j MASQ
$IPCHAINS -A forward -p 47  -s $LOCALNET -d $OUTERNET        -j MASQ

I have also used ipfwd and ipmasqadm for port forwarding:

ipfwd --masq --syslog $external_ip_of_VPNserver 47 &
ipmasqadm portfw -a -P tcp -L $external_ip_of_VPNserver 1723 -R 
$internal_ip_of_VPNserver 1723

Everything LOOKS fine but it is not eventually.  Here is errot of my dump 
from log:

Sep 25 19:05:59 lemon pptpd[11728]: CTRL: Error with select(), quitting
Sep 25 19:05:59 lemon pptpd[11728]: CTRL: Client 211.2.228.95 control 
connection finished
Sep 25 19:05:59 lemon pptpd[11728]: CTRL: Exiting now
Sep 25 19:05:59 lemon pptpd[470]: MGR: Reaped child 11728

I think I got connected but failed to pass authentication part.

Also, I have been testing samba with this /etc/smb.conf and trying to make 
computers broweable after VPN connection is built.  (I have pptpd and samba 
server on the same machine)

199.100.7.120 --> external interface of samba server
192.168.0.7 	 --> internal interface of samba server


[global]

workgroup = VPN
server string = VPN Samba Server
hosts allow = 192.168.0. 127.
log file = /var/log/samba/log.%m
max log size = 50
security = user
password level = 8
username level = 8
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
include = /etc/smb.conf.%m
interfaces =  199.100.7.120/24 192.168.0.7/24
remote browse sync = 192.168.0.255
remote announce = 192.168.0.255
domain master = yes
preferred master = yes
domain logons = yes
wins support = yes
wins proxy = yes
dns proxy = yes


Any advise will be truely helpful and thanks in advance.

Alan




More information about the pptp-server mailing list