I need to connect to the remote computer under local LAN network with firewall . Now I use SSH port forwarding form my client local port 4000 to remote server 4000 , and then client connects to 127.0.0.1:4000 with NX protocol. It works fine.
But I notice there is another option to use UDP, I hope I can use it , and I do the setting below:
1.client side NoMachine setting panel enable UDP and set port 6000
2.server side I change server.cfg using “UDPPort 6001”
3.port forwarding make remote server port 6000 to client local port 6000
3.port forwarding make client local port 6001 to remote server port 6001
Are my settings correct ? Or Is there a better way to do this?
Another question is how could I know the connection is under UDP or just TCP?
Thanks you for help