Wisdom
Explorer
- Joined
- Oct 15, 2016
- Messages
- 71
EDIT: Final Solution in my last post in the thread.
TL;DR: OpenVPN worked instead, quick guide included.
Original:
Hey ya'll,
I've been looking into how to remotely mount my CIFS shares over SSH, and have been running into some issues. From what I've been able to see, from both the similarly named post from 2011 (https://forums.freenas.org/index.php?threads/samba-cifs-shares-remotely.2906/), our very own post about external access for the web-based GUIs (https://forums.freenas.org/index.ph...r-freenas-server-remotely-and-securely.27376/) and some other guides from the broader internet (https://www.nikhef.nl/~janjust/CifsOverSSH/Win8Loopback.html) it seems possible, but it's been slow going.
Following the Nikhef guide, I've gotten as far as successfully opening a tunnel and attempting to mount the share, but I've run into a rather frustrating issue right at the very end: FreeNAS doesn't seem like play nice with my duckdns static external web address, leading to CIFS and FreeNAS missing each other.
Here is what my PuTTY log has to say:
And FreeNAS, a la the web GUI:
Thoughts? I've made sure to direct 44445 to 445 for FreeNAS on my router, and am able to successfully navigate the webGUI and all the other browser-accessible parts of FreeNAS without much trouble while on the go, but haven't been able to mount a share for file access. If there's anything else I can provide to clear this up, just let me know!
TL;DR: OpenVPN worked instead, quick guide included.
Original:
Hey ya'll,
I've been looking into how to remotely mount my CIFS shares over SSH, and have been running into some issues. From what I've been able to see, from both the similarly named post from 2011 (https://forums.freenas.org/index.php?threads/samba-cifs-shares-remotely.2906/), our very own post about external access for the web-based GUIs (https://forums.freenas.org/index.ph...r-freenas-server-remotely-and-securely.27376/) and some other guides from the broader internet (https://www.nikhef.nl/~janjust/CifsOverSSH/Win8Loopback.html) it seems possible, but it's been slow going.
Following the Nikhef guide, I've gotten as far as successfully opening a tunnel and attempting to mount the share, but I've run into a rather frustrating issue right at the very end: FreeNAS doesn't seem like play nice with my duckdns static external web address, leading to CIFS and FreeNAS missing each other.
Here is what my PuTTY log has to say:
Code:
2017-06-28 11:52:08 Opening connection to wfreenas.duckdns.org:445 for forwarding from 10.255.255.1:51798 2017-06-28 11:52:17 Forwarded connection refused by server: Connect failed [Operation timed out]
And FreeNAS, a la the web GUI:
Code:
Jun 28 11:53:06 W_FreeNAS sshd[25763]: error: connect_to wfreenas.duckdns.org port 445: failed. Jun 28 11:53:26 W_FreeNAS sshd[25763]: error: connect_to wfreenas.duckdns.org port 445: failed.
Thoughts? I've made sure to direct 44445 to 445 for FreeNAS on my router, and am able to successfully navigate the webGUI and all the other browser-accessible parts of FreeNAS without much trouble while on the go, but haven't been able to mount a share for file access. If there's anything else I can provide to clear this up, just let me know!
Last edited: