Web Application Nat Traversal

旧城冷巷雨未停 提交于 2019-12-04 15:00:41

For NATs what you usually have to do is get the web applications to make a request to your central server - which opens a "hole" in the NAT. Then your central server can take over this connection and access the web app.

This essentially becomes a persistent connection (since they're now way to "summon" web apps on demand, they always have to be connected to you). That is, the web apps have logic built in to them that periodically says "am I connected to home base? No? Then phone home". This will get around NAT issues since it's client initiated.

This technique is used by Skype, Buildbot, and others.

Yes - but the question is very generic. Without knowing what OS you use / your clients use, its impossible to advise on what would work.

I'd suggest running ppp on top of ssh or stunnel if you've got POISX/BSD/Linux at both ends. Have a google for lots of examples.

C.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!