[Interest] QUdpSpcket connection between two public peers behind firewalls

Thiago Macieira thiago.macieira at intel.com
Mon Dec 18 19:39:29 CET 2017


On Monday, 18 December 2017 10:23:40 PST Nuno Santos wrote:
> Can you please be more specific when you say, use a UDP-capable SOCKS5 proxy
> server?

Yes. You install a SOCKS 5 server that is capable of doing UDP binding and 
proxying. Then all you need to do is tell your QUdpSocket to use it, using the 
setProxy function.

SOCKS5 is usually run on port 1080 and found in many a corporate network. 
However, most SOCKS5 implementations do not allow for binding to a port on the 
remote side. The proxy server needs to be specifically configured to allow for 
that. Moreover, UDP support is not common, so make sure you choose your daemon 
properly.

> ... so I assume this STUN server is SOCKS5 compatible

If it were SOCKS5 compatible, it would be called a SOCKS5 server, not a STUN 
server.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list