General discussion

Locked

tunneling UDP traffic over TCP-IP

By zuzulo ·
I have a complex application which currently communicates between server nodes using UDP. This works perfectly for server-server traffic within the LAN cluster, but UDP traffic to external nodes is, unsurprisingly, hosed by various network factors. The easiest way to handle this problem (other ideas welcome) is to tunnel UDP traffic targeted to remote nodes over a persistent TCP-IP connection. What is the best and easiest way to do this? i.e. would it make sense to use netcat (nc), and if so what would be the best configuration...

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

tunneling UDP traffic over TCP-IP

by resmith In reply to tunneling UDP traffic ove ...

If you have access to the routers on each end, you can create tunnels there. You could also setup SWAN for Linux and use a VPN. Once you have the VPN setup, you can virtually send any traffic you want through the VPN.

You may want to read up on the Linux SWAN project for VPNs.

Hope this helps.

Collapse -

tunneling UDP traffic over TCP-IP

by zuzulo In reply to tunneling UDP traffic ove ...
Collapse -

can use openvpn

by androidx219 In reply to tunneling UDP traffic ove ...

I used DC++ over ssh tunnel and used socat(cygwin) to tunnel udp traffic over tcp but the performance of the search result were extremely poor. It does not effectively tunnel udp traffic over tcp. The best way in my mind is to use openvpn as it can tunnel the entire vpn connection over one tcp port. But again it will extra overhead on the packets. Please reply here if you have a better way to tunnel udp over tcp. thanks

Collapse -

smile

by yunn11 In reply to tunneling UDP traffic ove ...

but <strong><a href="http://www.pandoraoutletuk.com/pandora-bracelets.html" target=_blank>pandora bracelets</a></strong> android-x86.org <strong><a href="http://www.pandoraoutletuk.com/pandora-uk.html" target=_blank>pandora charms</a></strong> has <strong><a href="http://www.pandoraoutletuk.com/pandora-gold-beads.html" target=_blank>pandora gold beads</a></strong> multiple <strong><a href="http://www.pandoraoutletuk.com/genuine-pandora.html" target=_blank>pandora jewellery</a></strong>working <strong><a href="http://www.pandoraoutletuk.com/pandora-silver-beads.html" target=_blank>pandora silver beads</a></strong> builds based on Android 2.2.

Back to Linux Forum
4 total posts (Page 1 of 1)  

Operating Systems Forums