我在Azura的一个Ubuntu实例上设置了一个pptpd。当我尝试从客户端连接时,连接超时。在我看来,这与GRE协议有关,也许Azure不支持它?
端口1723打开相同的服务器设置,但在AWS中工作完美!
从服务器日志;
Jun 12 00:05:06 ubuntu01eus pppd[1258]: pppd 2.4.5 started by root, uid 0
Jun 12 00:05:06 ubuntu01eus pppd[1258]: Using interface ppp0
Jun 12 00:05:06 ubuntu01eus pppd[1258]: Connect: ppp0 <--> /dev/pts/1
Jun 12 00:05:06 ubuntu01eus pptpd[1257]: GRE: Bad checksum from pppd.
Jun 12 00:05:36 ubuntu01eus pptpd[1257]: CTRL: EOF or bad error reading ctrl packet length.
Jun 12 00:05:36 ubuntu01eus pptpd[1257]: CTRL: couldn't read packet header (exit)
Jun 12 00:05:36 ubuntu01eus pptpd[1257]: CTRL: CTRL read failed
Jun 12 00:05:36 ubuntu01eus pptpd[1257]: CTRL: Reaping child PPP[1258]
Jun 12 00:05:36 ubuntu01eus pppd[1258]: Hangup (SIGHUP)
Jun 12 00:05:36 ubuntu01eus pppd[1258]: Modem hangup
Jun 12 00:05:36 ubuntu01eus pppd[1258]: Connection terminated.
Jun 12 00:05:36 ubuntu01eus pppd[1258]: Exit.
Jun 12 00:05:36 ubuntu01eus pptpd[1257]: CTRL: Client xx.230.xxx.248 control connection finished/J
发布于 2012-06-12 10:02:22
pptp需要TCP和GRE (IP协议47)。Windows Azure目前仅支持TCP和UDP。
您尝试实现的场景是什么?Windows Azure提供了一些连接解决方案,例如Azure Connect和Azure虚拟网络,也许其中一个可以满足您的需求。
发布于 2015-01-23 04:05:17
简短的回答是:不。
原因是Azure不在本地和Azure虚拟网络之间路由GRE数据包。
发布于 2012-06-12 08:06:53
我不完全确定,但是这个功能需要在Ubuntu虚拟机中支持虚拟网络吗?预览期间,Windows Azure Virtual Machine for Linux不支持虚拟网络。
因此,如果是这样的话,它可能是你的根本原因。如果你需要更好的帮助,我建议你直接在Windows Azure Virtual Machines for Linux支持论坛上问你的问题,这样你就可以从各自的团队获得准确的反馈。支持的论坛链接在这里:
http://social.msdn.microsoft.com/Forums/en-US/WAVirtualMachinesforLinux/threads
https://stackoverflow.com/questions/10988457
复制相似问题