Hi all,
I'm quite new at all this so any help will be much appreciated.
Can anyone give me a step-by-step guide to get the Download Center only running through the VPN connection?
I want to retain remote access to the NAS but I want to keep my downloads/uploads anonymous, so I don't want to route everything through the VPN; just my Downloads/Uploads.
Thanks.
Download Center only through VPN
Moderator: Lillian.W@AST
-
- Posts: 60
- youtube meble na wymiar Warszawa
- Joined: Tue Apr 28, 2015 6:13 am
-
- Posts: 104
- Joined: Tue Dec 04, 2012 9:47 am
Re: Download Center only through VPN
Need this as well
-
- Posts: 3
- Joined: Mon Oct 10, 2016 1:57 pm
Re: Download Center only through VPN
+1. I've tried using the bind-address-ipv4 in transmission (works on Synology). Doesn't roll with Asustor...
-
- Posts: 3
- Joined: Mon Oct 10, 2016 1:57 pm
Re: Download Center only through VPN
Here's the script I'm running. It's retarded and Asustor should fix the routing for vpn clients like Synology does. Anyhow, this should work if you can bind download station to a specific IP (like transmissions ipv4-bind-address) otherwise, use transmission.
To get the trusted ip run ip route in the terminal and take note of the new route with your vpn ip. To get ifconfig_local look for inet addr: under the ppp255 interface (run ifconfig). route_net_gateway is your routers ip (192.168.x.1 something). You will also need to add to the end of .
It's absolutely ridiculous that you have to do this manually, but that's what I come to expect from Asustor... Nothing's working on this damn nas. Sure, it's cheap and fast but the software. OMG.
To get the trusted ip run ip route in the terminal and take note of the new route with your vpn ip. To get ifconfig_local look for inet addr: under the ppp255 interface (run ifconfig). route_net_gateway is your routers ip (192.168.x.1 something). You will also need to add
Code: Select all
200 vpn
Code: Select all
/etc/iproute2/rt_tables
It's absolutely ridiculous that you have to do this manually, but that's what I come to expect from Asustor... Nothing's working on this damn nas. Sure, it's cheap and fast but the software. OMG.
Code: Select all
IP=/sbin/ip
ETH=eth0
TUN=ppp255
ifconfig_local=10.100.0.4
ifconfig_remote=10.100.0.1
trusted_ip=x.x.x.x
route_net_gateway=192.168.2.1
$IP route flush table vpn
$IP rule del from all to $ifconfig_local lookup vpn
$IP rule del from $ifconfig_local lookup vpn
$IP route add $trusted_ip via $route_net_gateway dev $ETH
$IP route add 10.100.0.0/1 via $ifconfig_remote dev $TUN
$IP route add 0.0.0.0/1 via $ifconfig_remote dev $TUN table vpn
$IP rule add from all to $ifconfig_local lookup vpn
$IP rule add from $ifconfig_local lookup vpn
$IP rule add from all to $ifconfig_remote lookup vpn
$IP rule add from $ifconfig_remote lookup vpn
-
- Posts: 21
- Joined: Fri Aug 10, 2018 4:29 am
Re: Download Center only through VPN
Asustor need to add support for this.
Download center is useless to most without the vpn only restriction. Non of the BitTorrent clients are easily configured either.... combine this with the long term issue that vpn connections don't connect after reboot and I just don't trust using asustor nas for torrents
Such a wasted opportunity for you guys
Download center is useless to most without the vpn only restriction. Non of the BitTorrent clients are easily configured either.... combine this with the long term issue that vpn connections don't connect after reboot and I just don't trust using asustor nas for torrents
Such a wasted opportunity for you guys