First of all I'm a bit of a noob.
I have a samba share setup, wich works fine locally, and I'm trying to set a SSH tunnel up to acces my Raspi remotely (not from the same LAN I mean) with a windows computer while keeping everything secure.
I've followed this great step-by-step tutorial : https://www.nikhef.nl/~janjust/CifsOver ... pback.html
but I'm having trouble adapting it to my setup (and understanding the concept of SSH tunneling actually, despite reading about it).
My Raspberry is connected to the internet through a router.
What I understand from the tutorial is that I'll remotely connect to the 445 port of my router, but what puzzles me is that I'll have to forward this port from my router to my Raspi, yet I've read a lot that forwarding this one is not secure at all.
I'm obviously missing a point here, or multiple ones. I'm not even sure I'm providing enough details to get help, but I guess my question is : is it necessary to forward my 445 port to make this tutorial work (which sadly I'm unable to summarize), and is it safe to do so ?
Thanks for reading, and I'll deliver necessary details as they are asked, I just don't know which ones yet.