A small shell script that tunnels the AFP port of your disk station (and propably every other NAS with AFP and SSH services running) over ssh to your client computer.
Can the script be adapted for SMB? Apple has deprecated AFP with High Sierra, and starting with Sierra you can use Time Machine via SMB instead of AFP.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/54612147-afp-smb?utm_campaign=plugin&utm_content=tracker%2F6846776&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6846776&utm_medium=issues&utm_source=github).
Can the script be adapted for SMB? Apple has deprecated AFP with High Sierra, and starting with Sierra you can use Time Machine via SMB instead of AFP.