SSH to Synology NAS via Firewall Gold VPN

Comments

2 comments

  • Avatar
    James Willhoite

    Haven’t had this problem myself, but are you using keys? Do you have ssh set up to only allow from a certain IP range? If you VPN in to the Gold the IP range is 10.57.44.0/24 (I think you can change this).

    0
    Comment actions Permalink
  • Avatar
    Phil

    Hi @James, thanks for the suggestion. I do have keys setup, but haven’t disallowed passwords yet. I’m not sure how to explicitly block IPs in the sshd, but I assume it’s potentially possible in its config. That said, I’m not sure if there’s a good way to tweak the ssh config outside of DSM. I feel like most config tweaking with Synology will be lost if you don’t use their official way. 

    Anyway, I did figure it out. I must have put this setting in a couple years ago and totally forgot about it since I hadn’t anticipated wanting to access it via an external IP or at least in appearance. I modified Control Panel > Security > Acount. Specifically I enabled “Auto Block” and within that I added my router’s IP to the block list. Even though OpenVPN establishes 10.x.x.x IP subnets, all traffic from the VPN appears to originate from the Gold. I’m not sure if that is an artifact from how OpenVPN works or just how Firewalla has configured it, but that definitely was unexpected.

    Anyway thank you for your response.

    0
    Comment actions Permalink

Please sign in to leave a comment.