E
E
elisey4742016-09-06 21:06:08
linux
elisey474, 2016-09-06 21:06:08

Is it possible to forward udp port through ssh tunnel?

Some streaming server is running on the server with udp port number 123
On the client, run ssh -L 999:localhost:123 [email protected]_server
Now let's say we start some client for this server. And in its settings we write the server - 127.0.0.1, port 999. Will such port forwarding work and the client will connect to the udp port through the ssh tunnel or is it not possible to forward the udp port through the ssh tunnel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nirvimel, 2016-09-06
@nirvimel

In the form in which you described, of course, will not work.
The question of tunneling UDP over SSH boils down to the question of tunneling UDP over TCP.
There are special tools like udptunnel for this .
Update: Just found an easy way to tunnel UDP (single port) over SSH on an almost bare shell (nc + ssh) with no external dependencies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question