Is this VPN setup possible?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
secretliar
Posts: 2
Joined: Sun Jun 01, 2014 9:51 pm

Is this VPN setup possible?

Post by secretliar »

Hi,

I have a Synology NAS, with a VPN client active on it. My issue is that there is no killswitch for downloading. So if the VPN connection drop, it keeps downloading with my true IP.

I would like to know if this would be possible to do with 2 router under Gargoyle :

Image

My concerns :
- First : Is there a killswitch in Gargoyle?
- From the primary network, will I be able to connect to the NAS through local network?
- Currently I can access my NAS from work, would I still be able to do so with a VPN router in between?


Thanks!

ispyisail
Moderator
Posts: 5218
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Is this VPN setup possible?

Post by ispyisail »

First : Is there a killswitch in Gargoyle?
No That I know of (pull the plug out)
- From the primary network, will I be able to connect to the NAS through local network?
yes, but I suspect double NAT which can cause problems
- Currently I can access my NAS from work, would I still be able to do so with a VPN router in between?
yes but you will need to setup port forwarding.



In summary, yes it can be done but it not plug and play. Things will need to be configured. One of the big things you may loose is subnet browsing by host name.

secretliar
Posts: 2
Joined: Sun Jun 01, 2014 9:51 pm

Re: Is this VPN setup possible?

Post by secretliar »

HI,

Thank you! I'll work on it when I'll time. But at least, I now know that's probably possible!

The killswitch is not unplugging the router, what I'm looking for is that if the connection to the VPN is lost, the NAS won't be able to download over Internet :( I don't want to do a setup and discover some days after that the connection was lost and that I was downloading with my real IP :S

Lantis
Moderator
Posts: 7152
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Is this VPN setup possible?

Post by Lantis »

use some kind of ping watchdog that can only communicate over the vpn.
Then have it run a script that kills the download.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Post Reply