Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
SSH access (non-standard port) on WAN Port [SOLVED]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: SSH access (non-standard port) on WAN Port [SOLVED] (Read 7821 times)
dpsguard
Jr. Member
Posts: 70
Karma: 2
Re: SSH access (non-standard port) on WAN Port [SOLVED]
«
Reply #15 on:
September 20, 2023, 03:59:38 pm »
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.
Logged
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 573
Re: SSH access (non-standard port) on WAN Port [SOLVED]
«
Reply #16 on:
September 20, 2023, 04:01:35 pm »
Of course, add option "-p <port>" to the ssh command.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
dpsguard
Jr. Member
Posts: 70
Karma: 2
Re: SSH access (non-standard port) on WAN Port [SOLVED]
«
Reply #17 on:
September 20, 2023, 06:05:53 pm »
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.
Logged
dpsguard
Jr. Member
Posts: 70
Karma: 2
Re: SSH access (non-standard port) on WAN Port [SOLVED]
«
Reply #18 on:
September 21, 2023, 12:45:53 am »
Hi Patrick. It works. Thanks so much for your help and support.
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
SSH access (non-standard port) on WAN Port [SOLVED]