Send files after udp hole punching

2019-06-07 07:07发布

问题:

I have 2 computers behind NAT.

To make a connection between them I use an UDP hole punching protocol.

It works.

Now I want to send files by this tunnel. I guess I must have a TCP tunnel between those 2 computers.

Both firewall DENY all TCP trafic.

Is it possible ?

If not, is there any other solution ? How does Skype sends files by this UDP Tunnel ?

回答1:

You can use UDT protocol for file transfer after it gets hole punched. UDT is made on top of UDP. It has the reliability of TCP and fastness of UDP.

UDT has an open source implementation.

http://udt.sourceforge.net