Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Ubuntu & PPTP VPN

$
0
0

Hello Everyone,

I have been working on a solution for this problem for quite some time now but haven't been able to come up with a viable answer. 

Specific Error Details:

Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: pppd options file = /etc/ppp/pptpd-options
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Client **** control connection started
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Received PPTP Control Message (type: 1)
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Made a START CTRL CONN RPLY packet
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: I wrote 156 bytes to the client.
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Sent packet to client
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Received PPTP Control Message (type: 7)
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Made a OUT CALL RPLY packet
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Starting call (launching pppd, opening GRE)
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: pty_fd = 6
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: tty_fd = 7
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: I wrote 32 bytes to the client.
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Sent packet to client
Aug 19 22:47:28 ns1 pptpd[6893]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Aug 19 22:47:28 ns1 pptpd[6893]: CTRL (PPPD Launcher): local address = 192.168.1.1
Aug 19 22:47:28 ns1 pptpd[6893]: CTRL (PPPD Launcher): remote address = 192.168.1.50
Aug 19 22:47:28 ns1 pppd[6893]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Aug 19 22:47:28 ns1 pppd[6893]: The remote system is required to authenticate itself
Aug 19 22:47:28 ns1 pppd[6893]: but I couldn't find any suitable secret (password) for it to use to do so.
Aug 19 22:47:28 ns1 pptpd[6892]: GRE: read(fd=6,buffer=6075a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Reaping child PPP[6893]
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Client **** control connection finished
Aug 19 22:47:28 ns1 pptpd[6892]: CTRL: Exiting now
Aug 19 22:47:28 ns1 pptpd[6888]: MGR: Reaped child 6892

I have a PPTP VPN server listening on port 1723 and the Ubuntu VM on Azure is configured to allow connections to and from that port. The problem is that from my Cisco networking coursework I believe PPTP requires Generic Routing Encapsulation in order to tunnel the packets properly. This exists on the "Networking" layer of the OSI and I'm almost positive there isn't any support for that in Azure, but I'm curious to know if by default they have allowed it within Azure due to Azure Connect?

I can't use Azure Connect as I have both Linux and Windows machines, that is not a good solution.

I've decided to look up some resources just to show that I'm not posting this without consulting the "Search" button first. :)

So my question is does any one know how I can resolve this error and use PTPP instead of Azure Connect?

A huge thanks to anyone who can provide any assistance!

Resources:

Many Thanks,

Sam W.


Sam W. Seven-Labs | http://www.seven-labs.com .NET Developer


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>