I want to tunnel via ssh a Xdmcp protocol. To access sicure to a remote login.
An easy solution can be openvpn, but I want to try socat+ssh first.
The server is Solaris 10 The client is Slackware 15.
On Client
ssh -L 6667:localhost:6667 192.168.201.200
on server
socat tcp4-listen:6667,reuseaddr,fork UDP:192.168.201.200:177
on Client
sudo socat udp4-listen:177,reuseaddr,fork tcp:localhost:6667
Now on client i run Xephyr and...
Xephyr -query localhost -screen 1024x767 :2
Using Xdcmp directly without tunnel works, but is unsafe

Asked by elbarna
(13710 rep)
Dec 13, 2023, 06:08 AM
Last activity: Dec 13, 2023, 06:11 PM
Last activity: Dec 13, 2023, 06:11 PM