Http tunneling to pass firewall in C# (TCP)

丶灬走出姿态 提交于 2019-12-11 12:10:03

问题


My need is to communicate between 2 client behind NAT using http tunneling. Is it possible? What all setup is needed to achieve this (like http proxy server etc.)? Is there any library or sample code available for implementing http tunneling over TCP in C#?


回答1:


It might be possible for you to use this library: http://granados.sourceforge.net/

It supports port forwarding (tunneling in this case), but I haven't tried it myself.

It's an SSH library... so if you can set up an SSH server on either end of the connection you'll be able to establish an SSH connection and create a tunnel.



来源:https://stackoverflow.com/questions/2272482/http-tunneling-to-pass-firewall-in-c-sharp-tcp

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