SSH access (non-standard port) on WAN Port [SOLVED]

Started by dpsguard, September 18, 2023, 02:31:55 PM

Previous topic - Next topic
Thank you so much Patrick for excellent explanation. I will try this sometime later today and confirm. Though I only wished to access SSH on a non-standard port, but this is interesting at least for me to try and keep in back pocket just in case.

I assume this still uses port 22 for the establishment of SSH tunnel that carries within it the forwarded ports between http/https server and local machine. so OPNSense firewall needs to expose port 22 for SSH on WAN interface.

Can I have underlying SSH tunnel to use something like port 54321? 

Appreciate all your help.

Of course, add option "-p <port>" to the ssh command.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Excellent. I will try this and report back.

God bless you and all the developers and authors of Opensource software and systems. Keep doing good work.

Hi Patrick. It works. Thanks so much for your help and support.