[pptp-server] multiple connections with FreeBSD 3.3

Fabian Wenk fwenk at siconline.ch
Wed Jan 24 11:55:39 CST 2001


Hello,

i have a box running FreeBSD 3.3 with ipfw and poptop 1.0.0,
this box is behind a NAT box with a redirect.

Connecting with the first VPN client does work just fine.
If i try to connect with a second client it gives me the following errors:

in /var/log/messages:

Jan 23 17:01:52 redboxone ppp[9315]: tun1: Error: iface_inAdd: ioctl(SIOCAIFADDR): 172.19.16.225: File exists 
Jan 23 17:01:52 redboxone ppp[9315]: tun1: Error: ipcp_InterfaceUp: unable to set ip address 
Jan 23 17:01:53 redboxone pptpd[9314]: GRE: read(fd=5,buffer=804d000,len=8196) from PTY failed: status = 0 error = No error
Jan 23 17:01:53 redboxone pptpd[9314]: CTRL: PTY read or GRE write failed (pty,gre)=(5,4)

172.19.16.225 - 172.19.16.238 is the range for remoteip

in /var/log/ppp.log:

Jan 23 17:01:52 redboxone ppp[9315]: tun1: IPCP: myaddr 172.19.16.225 hisaddr = 172.19.16.241 
Jan 23 17:01:52 redboxone ppp[9315]: tun1: Error: iface_inAdd: ioctl(SIOCAIFADDR): 172.19.16.225: File exists 
Jan 23 17:01:52 redboxone ppp[9315]: tun1: Error: ipcp_InterfaceUp: unable to set ip address 

it looks like ppp or pptp are using the first ip address of the range again.

pptpd.conf:

speed 115200
debug
localip 172.19.16.225-238
remoteip 172.19.16.241-254
listen 172.19.1.32


/etc/ppp/ppp.conf:

default:
 set log Phase Chat LCP IPCP CCP tun command
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\
dATDT\\T TIMEOUT 40 CONNECT"

 set timeout 120

pptp:
 set timeout 0
 set ifaddr 172.19.16.225/0 172.19.16.241/0 255.255.255.0
 enable proxy


does anybody see the problem with this config?

thanks for any help

bye
Fabian




More information about the pptp-server mailing list