I would like to connect to my server, which is located behind NAT via mosh. I can’t touch the router to set it as upnp support, but I applied 9807-> 60000 and ssh port forward for the UDP port forward.
So, is there any way to specify the server port through the args command line or conf file on the client and / or server side?
Note: the following does not work!
mosh -p 9807 user@my_server
Edit:
First I tried to execute ssh on my server and run mosh-server -p 60000 manually, and then mosh -p 9807 my_server from another terminal. This causes an error:
Error binding to IP my_server_ip: bind: Address already in use
That said:
- port works.
- try installing the mosh server on port 60000.
Thank.