Armandooooo
Occasional Visitor
Hello,
@Ranger802004, I believe I understand the purpose of the script, but just to be sure, I put my use case. I am in Australia and I am French, and I would like to watch so French catch-up tv. I have a VPN in France that works, however when I setup the VPN through VPN director it re-routes all traffic from a device to an IP but not to a URL. Hence I would like to use this scripts so all my devices can be routed through my VPN only to access the url tf1.fr (I tried to look at all IP for tf1.fr, but they are changing frequently). All other traffic should not go through the VPN.
I have enable SSH in the administration and Enable JFFS custom scripts and configs. I logged into the router in SSH and run amtm, use the i option to display the available scripts and use amtm to install the script. Then I had to reboot.
I then created a domain -> create policy -> tf1 -> ovpnc1 -> enable verbose: No (no idean what I would use this for, if you can advise) -> Enable Private IP for this Policy : No (I have no idea if I should say yes or no there, if you can advise)
I added the domain -> tf1.fr -> policy tf1 and that is it.
I have no idea what cron is for and if this is required (what is the use of it?).
And may VPN is set enabling rules for VPN director without any rules. I am not sure if these are what is expected.
After that I have tested the site tf1.fr and it does not display anything (site not available outside france) which is the sign it does not work at all.
Thank you for the help.
@Ranger802004, I believe I understand the purpose of the script, but just to be sure, I put my use case. I am in Australia and I am French, and I would like to watch so French catch-up tv. I have a VPN in France that works, however when I setup the VPN through VPN director it re-routes all traffic from a device to an IP but not to a URL. Hence I would like to use this scripts so all my devices can be routed through my VPN only to access the url tf1.fr (I tried to look at all IP for tf1.fr, but they are changing frequently). All other traffic should not go through the VPN.
I have enable SSH in the administration and Enable JFFS custom scripts and configs. I logged into the router in SSH and run amtm, use the i option to display the available scripts and use amtm to install the script. Then I had to reboot.
I then created a domain -> create policy -> tf1 -> ovpnc1 -> enable verbose: No (no idean what I would use this for, if you can advise) -> Enable Private IP for this Policy : No (I have no idea if I should say yes or no there, if you can advise)
I added the domain -> tf1.fr -> policy tf1 and that is it.
I have no idea what cron is for and if this is required (what is the use of it?).
And may VPN is set enabling rules for VPN director without any rules. I am not sure if these are what is expected.
After that I have tested the site tf1.fr and it does not display anything (site not available outside france) which is the sign it does not work at all.
Thank you for the help.
Last edited: