Community discussions

 
fredgr
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sat Jun 11, 2011 12:48 pm

Error connecting Mikrotik PPTP VPN Client to a Linux VPN Svr

Sat Sep 21, 2013 8:25 pm

I have configured my Mikrotik router as a PPTP VPN Client that connects to a PPTP VPN Server running on a Centos 6.2 (configured as NAT so that VPN clients get internet access via the Centos server)

My different devices (iPhone, Mac, PC, ...) can connect seamlessly onto the VPN and surf the web.

But my Mikrotik Client fails to connect, and this is the log on the server related to the connection attempt :
pptpd[10678]: CTRL: Client XX.XX.XX.XX control connection started
pptpd[10678]: CTRL: Starting call (launching pppd, opening GRE)
pppd[10679]: Warning: can't open options file /root/.ppprc: Permission denied
pppd[10679]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
pppd[10679]: pppd 2.4.5 started by root, uid 0
pppd[10679]: Using interface ppp1
pppd[10679]: Connect: ppp1 <--> /dev/pts/2
pptpd[10678]: GRE: Bad checksum from pppd.
pppd[10679]: LCP: timeout sending Config-Requests
pppd[10679]: Connection terminated.
pppd[10679]: Modem hangup
pppd[10679]: Exit.
pptpd[10678]: GRE: read(fd=6,buffer=611860,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
pptpd[10678]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
I cannot find anything on the different forums for solving this.

Can someone help ?
 
Amirkhatam
just joined
Posts: 18
Joined: Wed Mar 06, 2013 11:33 pm
Contact:

Re: Error connecting Mikrotik PPTP VPN Client to a Linux VPN

Sun Sep 22, 2013 2:24 am

check your security profile that you set on router , and double check for encryption and authentication method !! i think your problem is because of it
Every Thing Possible With MikroTik
 
fredgr
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Sat Jun 11, 2011 12:48 pm

Re: Error connecting Mikrotik PPTP VPN Client to a Linux VPN

Sun Sep 22, 2013 12:21 pm

I have even used the noauth option, but same problem.

I have reinstalled the PPTP server on latest Ubuntu server, but same problem.
 
User avatar
smarag
newbie
Posts: 27
Joined: Fri Jun 04, 2004 9:06 am
Location: Piraeus - Athens - Greece
Contact:

Re: Error connecting Mikrotik PPTP VPN Client to a Linux VPN

Mon Nov 04, 2013 4:13 pm

check on /ip firewall service-port print

On name pptp without port
i am with this is running.

Maragoudakis Stavros
MTCNA - MTCWE - MTCTCE - MTCUME - MTCRE
Master Distributor in Greece
MikroTik Certified Consultant
 
ucs75
newbie
Posts: 31
Joined: Fri Sep 20, 2013 10:06 pm

Re: Error connecting Mikrotik PPTP VPN Client to a Linux VPN

Sat May 03, 2014 3:51 am

What's up with the:
Warning: can't open options file /root/.ppprc: Permission denied

It looks like the process has no permissions to read it's own config file.

Who is online

Users browsing this forum: MSN [Bot] and 100 guests