A
A
Account for Anonymizing Users2019-08-12 12:57:54
Windows
Account for Anonymizing Users, 2019-08-12 12:57:54

Is it possible to wrap UDP traffic in a Windows TCP tunnel?

Hello!
A service (program, game, whatever) is running on port 1111 UDP. You can forward port 1111 TCP to the host. Is it possible to wrap traffic in TCP on the 1st host, and forward it back in UDP on the second one?!
Thanks in advance for your reply!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2019-08-12
@NeiroNx

You can, if you are a routing guru - in this case, two routers are connected by a tunnel (for example, VPN) and traffic is routed through it.
For a simple solution, it's better to take something like GameRanger (chat, monitoring, tunnel)

R
res2001, 2019-08-12
@res2001

Any version of VPN that can create tunnels over TCP will do what you want.
For example OpenVPN.

A
Aus_Sachsen, 2019-08-15
@Aus_Sachsen

Generally speaking, Windows should not be restricted when dealing with UDP. UDP, just like TCP, have a similar purpose - to be a transport protocol. The only difference is that TCP guarantees the delivery of packets, while UDP does not. Modern client-server solutions that support both UDP and TCP are usually implemented based on various versions of the "Remote Procedure Call Protocol Specification". The most famous example is the implementation of NFS or mound in Linux.
First of all, before fencing the garden, I would look at the possibility of your "Service (program, game, whatever)" over TCP. The simplest case, if you have Linux in your environment, use the commands rpcinfo -s [IP/host_name of the server], thus you will call the 4 rpcbind procedure, which will list the registered programs. If you are lucky, you will see your program there, which should respond to port 1111. You can also understand what transport protocols are available. Further, it will be a matter of technology - to provide already on the client side access to the TCP protocol.
If your program does not follow any specification at all, then you just need to figure out why UDP packets do not "arrive" on the host where you expect to receive them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question