CannaLucente
Occasional Visitor
Hi All,
I am new to the forum. I have recently purchased an AX88U on which I have installed Merlin 384.19.
I have a question related to policy based routing for OpenVPN.
I normally keep the VPN on 24/7 but Amazon Prime Video and Disney+ don't work when it's active and I am looking for the best way to manage this.
1) I can switch on/off the VPN quite easily with a program called VeeKee, found on this forum, or with SSH with a simple command (service stop/start_vpnclient1). Downside is this applies to all devices on the LAN and needs to be done every time. Also, as I use the kill switch, this is not really an option as every device stops working.
2) I can configure an exception in the policy based routing to route the given device via WAN. Downside is this needs to be done every time and, as far as I have figured out so far, I don't have a simple one line command to flip the given device interface from VPN to WAN and vice versa (I don't want to keep the given device always via WAN). I can login and do it on router.asus.com but this is not very quick.
The easiest would be to map the IP ranges of Amazon Prime Video and Disney+ in a specific routing rule, but I haven't found anywhere which set of IPs should I configure. Is there a way to do this?
If the above cannot be done, is there a way to write a script I can execute from an Android device that every time flips the policy rule to route the given device between VPN and WAN?
Apologies for the basic question but I am completely new to Unix scripting... Is there a website or something I can read which teaches me through the basics of scripting? I have read the merlin wiki but I feel like I am lacking even more basic knowledge...
Thanks in advance!
I am new to the forum. I have recently purchased an AX88U on which I have installed Merlin 384.19.
I have a question related to policy based routing for OpenVPN.
I normally keep the VPN on 24/7 but Amazon Prime Video and Disney+ don't work when it's active and I am looking for the best way to manage this.
1) I can switch on/off the VPN quite easily with a program called VeeKee, found on this forum, or with SSH with a simple command (service stop/start_vpnclient1). Downside is this applies to all devices on the LAN and needs to be done every time. Also, as I use the kill switch, this is not really an option as every device stops working.
2) I can configure an exception in the policy based routing to route the given device via WAN. Downside is this needs to be done every time and, as far as I have figured out so far, I don't have a simple one line command to flip the given device interface from VPN to WAN and vice versa (I don't want to keep the given device always via WAN). I can login and do it on router.asus.com but this is not very quick.
The easiest would be to map the IP ranges of Amazon Prime Video and Disney+ in a specific routing rule, but I haven't found anywhere which set of IPs should I configure. Is there a way to do this?
If the above cannot be done, is there a way to write a script I can execute from an Android device that every time flips the policy rule to route the given device between VPN and WAN?
Apologies for the basic question but I am completely new to Unix scripting... Is there a website or something I can read which teaches me through the basics of scripting? I have read the merlin wiki but I feel like I am lacking even more basic knowledge...
Thanks in advance!