Tinc支持NAT穿越吗?

171 views
Skip to first unread message

张建雷

unread,
Oct 6, 2016, 1:54:32 AM10/6/16
to sh...@googlegroups.com
希望有经验的朋友能指点一下:

一个公网IP做服务器,两个内网IP(分别为移动和电信)。现在移动连电信都要绕道去服务器,想问一下Tinc能否提供NAT穿越的功能,想达到移动直连电信的效果。

谢谢。
--
此致

张建雷 敬上

Yifan Gao

unread,
Oct 6, 2016, 2:16:22 AM10/6/16
to sh...@googlegroups.com
> It could be that some daemons are located behind a Network Address Translation (NAT) device, or behind a firewall. In the above scenario with three daemons, if A and C are behind a NAT, B will automatically help A and C punch holes through their NAT, in a way similar to the STUN protocol, so that A and C can still communicate with each other directly. It is not always possible to do this however, and firewalls might also prevent direct communication. In that case, VPN packets between A and C will be forwarded by B.

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

张建雷

unread,
Oct 6, 2016, 9:58:28 PM10/6/16
to sh...@googlegroups.com
我之前看的是稳定版的文档
https://www.tinc-vpn.org/documentation/How-connections-work.html#How-connections-work

我去试试1.1版。

谢谢!

2016-10-06 14:04 GMT+08:00 Yifan Gao <subs...@yfgao.com>:
> It could be that some daemons are located behind a Network Address Translation (NAT) device, or behind a firewall. In the above scenario with three daemons, if A and C are behind a NAT, B will automatically help A and C punch holes through their NAT, in a way similar to the STUN protocol, so that A and C can still communicate with each other directly. It is not always possible to do this however, and firewalls might also prevent direct communication. In that case, VPN packets between A and C will be forwarded by B.

On 6 Oct 2016, at 1:54 PM, 张建雷 <jlzha...@gmail.com> wrote:

希望有经验的朋友能指点一下:

一个公网IP做服务器,两个内网IP(分别为移动和电信)。现在移动连电信都要绕道去服务器,想问一下Tinc能否提供NAT穿越的功能,想达到移动直连电信的效果。

谢谢。
--
此致

张建雷 敬上


--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

Reply all
Reply to author
Forward
0 new messages