0

我已经设置了一个在 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

4

3 回答 3

2

pptp 需要 TCP 和 GRE(IP 协议 47)。Windows Azure 目前仅支持 TCP 和 UDP。

您要实现的场景是什么?Windows Azure 提供了一些连接解决方​​案,例如 Azure Connect 和 Azure 虚拟网络,也许其中之一可以满足您的需求。

于 2012-06-12T02:02:21.683 回答
1

简短的回答:没有。

原因是 Azure 不会在本地和 Azure 虚拟网络之间路由 GRE 数据包。

于 2015-01-22T20:05:17.413 回答
0

但是我不确定这个功能是否需要在 Ubuntu VM 中支持虚拟网络?在预览期间,适用于 Linux 的 Windows Azure 虚拟机不支持虚拟网络。

因此,如果是这种情况,它可能是您的根本原因。如果您需要获得更好的帮助,我建议您直接在 Windows Azure Virtual Machines for Linux 支持论坛上提问,这样您就可以从各自的团队获得准确的反馈。支持的论坛链接在这里:

http://social.msdn.microsoft.com/Forums/en-US/WAVirtualMachinesforLinux/threads

于 2012-06-12T00:06:53.257 回答