PPTP VPN Server
Hi,
I'm using CentOS 5 and I use following configuration.
file /etc/ppp/options.pptpd as below: -
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
file /etc/pptpd.conf as below: -
option /etc/ppp/options.pptpd
logwtmp
localip 192.168.2.1
remoteip 192.168.2.11-15
/etc/ppp/chap-secrets as below: -
# Secrets for authentication using CHAP
# client server secret IP addresses
ffidx pptpd passwrd *
service pptpd start
/etc/sysctl.conf
net.ipv4.ip_forward = 1
sysctl -p
But when I dial from windows it shows error:619
and
tail -f /var/log/messages
Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: Client 192.168.1.221 control connection started
Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: Starting call (launching pppd, opening GRE)
Feb 4 18:15:15 trixbox1 pppd[6674]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
Feb 4 18:15:15 trixbox1 pptpd[6673]: GRE: read(fd=6,buffer=804e560,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Feb 4 18:15:15 trixbox1 pptpd[6673]: CTRL: Client 192.168.1.221 control connection finished
note there is no firewall enabled, i'm using webmin and in firewall all traffic are allowed.
I have no idea stuck here badly.
Last edited by Farrukh Fida; 02-07-2010 at 05:43 AM.
|