Score:0

Synology Open VPN Server to Client connection

es flag

I have a 2 sites:

  • Synology A (192.168.1.100) - running VPN Server (10.8.0.1)
  • Synology B (192.168.2.100) - running VPN Client (connecting with 10.8.0.10)

I'm trying to setup Hyper Backup from Synology A (source) to Synology B (destination).

I was able to connect using Open VPN from Synology A to Synology B but I'm not able to setup Hyper Backup from Synology A specifying 10.8.0.10 as destination IP.

Firewall is setup as:

on Synology A

  • ports: all, source 10.8.0.0, protocol: all, action: allow
  • ports: all, source 192.168.2.0, protocol: all, action: allow

on Synology B

  • ports: all, source 10.8.0.0, protocol: all, action: allow
  • ports: all, source 192.168.1.0, protocol: all, action: allow

However, I'm still not able to connect. What am I missing?

Update: Synology B is setup with Hyper Backup Vault and has pre-existing HB backups and it works when using direct connection (not via VPN). The reason I want to use VPN is to have Synology B on 4G connection and mobile data plans use shared public IPs, therefore I cannot have direct incoming connections, but apparently this is achievable using VPN.

Score:0
es flag

Ok so changing a bit my networks (that probably doesn't matter)

LAN

Synology A (192.168.1.100) - running VPN Server (192.168.81.1)

4G

Synology B (192.168.2.100) - running VPN Client (connecting with 192.168.81.6)

Synology A (VPN Server)

enter image description here

Synology B (4G VPN Client)

I imported openvpn profile.

enter image description here

Here I have VPN reconnect handling script that runs every 5 minutes: https://github.com/ianharrier/synology-scripts/blob/master/reconnect-vpn.sh

enter image description here

So now VPN Server on Synology A sees the client connected:

enter image description here

And so HyperBackup can be setup given VPN client's IP address:

enter image description here

Opening firewall ports wasn't necessary.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.