2 ms·
There is a way [1] but the first hop will be ssh/tcp which may defeat the point of doing this if the first hop has high loss or the IP changes constantly. ncat
by LinuxBender 4y ago
There is a way [1] but the first hop will be ssh/tcp which may defeat the point of doing this if the first hop has high loss or the IP changes constantly. ncat from nmap can also be used within SSH vs their suggested fifo method. Both have some caveats. Here [2] is some further discussion.
[1] - https://superuser.com/questions/53103/udp-traffic-through-ssh-tunnel https://superuser.com/questions/53103/udp-traffic-through-ss...
[2] - https://teddit.sethforprivacy.com/r/linuxadmin/comments/xeqpc9/udp_tunneling_over_reverse_ssh_netcatsocat_not/ https://teddit.sethforprivacy.com/r/linuxadmin/comments/xeqp...
- loeg 4y agoYeah, I think that defeats much of the purpose of using mosh. :)
- LinuxBender 4y agoAgreed. I think the only use cases would be that your fist hop is stable but you want to proxy to another region over a lossy link but I can't imagine that would be very common. Maybe when using a satellite link or a inter-continental connection has a single over-saturated link but that would be a very fringe case. Perhaps when Starlink gets over-subscribed that could be a case.