|
Hello. I want intsall PPTP server but i can't. I
installed but contain some error. This error is
/usr/sbin/pppdU unknown host: loop Mar 14
20:36:40 pptp pppd[805]: unknown host: loop Mar 14 20:36:40 pptp pppd[804]:
GRE: read(fd05,buffer=804d500,len=8196) from PTY failed: status = 0 error = No
error Mar 14 20:36:40 pptp pppd[804]: CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)
You can help me. My configured
file.
My intranal LAN IP is 192.168.0.1
external LAN 202.55.176.x
Client IP 192.168.0.2 PPTP server's config
files /usr/local/etc/pptpd.conf
option /etc/ppp/ppp.conf #bcrelay
eth1 debug nobsdcomp proxyarp localip
192.168.0.1 remoteip 192.168.0.200-238 pidfile
/var/run/pptp.pid ??v2 mppe-40 mppe-128 mppe-stateless etc/ppp/ppp.conf
loop: set timeout
0 set log phase chat connect lcp ipcp command set
device localhost:pptp set dial set
login # Server (local) IP address, Range for Client, and
Netmask # if you want to use NAT use ptivate IP
addresses set ifaddr 192.168.0.1 192.168.0.200-192.168.0.254
255.255.255.0 add default HISADDR set server
/tmp/loop "" 0177
loop-in: set timeout
0 set log phase lcp ipcp command allow mode
direct pptp: load loop disable
pap # Authudenticate against /etc/passwd enable
passwdauth disable ipv6cp enable
proxy accept dns enable
MSChapV2 enable mppe disable deflate
pred1 deny deflate pred1 set dns
202.55.176.10 set device
!/etc/ppp/secure /etc/ppp/ppp.secret
#user #password manlai
manlai 1982 1 /etc/ppp/secret
#!/bin/sh exec /usr/sbin/ppp -direct
loop-in
|