开发者

Relay/Send through NAT in Python

I'm looking for a solution to exchange data (protocols build on TCP) between NAT separated endpoints - more or less directly.

  • I can setup a relay service for example -开发者_如何学运维 which is what I have in mind. However I want to route traffic without losing too much performance.
  • or I can build a VPN with a central VPN server

Are there optimised libraries in Python to allow me forwarding and building a relay server - for example. Or is there something more elegant that doesn't even require a node in the middle? :)


I'm not sure about Python implementations, but you may want to look at Samy Kamkar's example implementations of mechanisms for relay-free NAT traversal when both endpoints are NATed. (and the papers he references)

  • pwnat
  • chownat
  • NAT Pinning
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜