I want to setup a simple method acessing a machine A from a machine B with VNC. Both machines are behind a NAT. I have a raspberry with ddns setup.
A -> NAT1 -> rasp <- NAT2 <- B
Usual solution is the following:
- side B connects to the rasp via ssh with local port forwarding and start the
vncviewerlistening on a local port
- side A connects via ssh to the rasp with remote port forwarding and start
x11vncon a local port
One could also invert the forwarding by using vnc in reverse mode.
In this case, side A has no credentials for the server.
The solution to which I'm thinking is to create the same port forwarding as with ssh but without credentials (and encryption) and leaving vnc making the encryption with SSL.
For such a solution, when side B connects to the rasp and creates the ssh tunneling, it could also start a server that waits for the next connection and setup the forwarding for client A, who instead can simply use
Is my idea feasible? Are there any other software for creating prot forwarding without authentication?
No one can change how the NAT are configured