Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. H

    Manage NordVPN recommended servers through addons API page

    This is working brilliantly! I've never changed my VPN server so often even just for testing... sooo easy! Seems like it's working for @Marin too (who made the original request around the capability to choose a city)! I have one final suggestion/request @Jack Yaz... can we have an "update now"...
  2. H

    Manage NordVPN recommended servers through addons API page

    Also looking great! There's even logic to know which countries have a single location or multiple cities to choose from! A question @Jack Yaz ... what does "managed" mean?
  3. H

    Manage NordVPN recommended servers through addons API page

    Looking good! It's funny how the country list is long enough that you actually have to scroll back up to see the ones at the top - the joys of having lots of countries to choose from :)... but this is in a console anyway so it doesn't really matter! Once it's visible in the UI, I doubt there...
  4. H

    Manage NordVPN recommended servers through addons API page

    Yes! Looks right to me! It might be worth leaving in the development branch for a while once this is done so that it can be tested over a few days. I'd like to test side by side and see how the server chosen differs from the pure recommendation to country and the pseudo one... Probably by...
  5. H

    Manage NordVPN recommended servers through addons API page

    I'll let you decide :)! Does it really need to be updated often - once selected, a user is rarely going to change the configuration as that's the whole point of the script (to do the work for them). I'd probably just have an "Update Locations" action/button to refresh the list of available...
  6. H

    Manage NordVPN recommended servers through addons API page

    Good point! Fallback checking could be done in the "getRecommended" function though so it wouldn't be a big change. I would start with "country+city" (if set) and fallback to "country only" on fail (and if set) and if that also fails fallback to the default recommendation ;)! Obviously, however...
  7. H

    Manage NordVPN recommended servers through addons API page

    You know what... This could be done! Option 1. A hugely complex piece of work... the NordVPN api exposes the geolocation of each server. It would need the user to enter their geolocation into the config though (not sure I'd want to do this myself!). Using the current geolocation you could pull...
  8. H

    Manage NordVPN recommended servers through addons API page

    Yes... All files to that folder. I know what you mean by "whatever you want to name it" ;) the repo, main script and menu all have different names ☺️. But, hey, I'm learning here and this is the first time I've used github I should probably choose a name and stick to it! I didn't really want to...
  9. H

    Manage NordVPN recommended servers through addons API page

    Added ability to choose "server type" too - just like you can on the NordVPN recommended servers page under "advanced settings". Available options for "Standard VPN", "Double VPN" and "P2P" (the only ones relevant for Asus Router config). I'd really be interested in some help configuring a Web...
  10. H

    Manage NordVPN recommended servers through addons API page

    CLI menu added! I used some of your work for inspiration... hope you don't mind!
  11. H

    Manage NordVPN recommended servers through addons API page

    I was looking to create a UI page to manage it... a menu shouldn't be too difficult... I'll have a look! I wrote enough info up on the readme though.
  12. H

    Manage NordVPN recommended servers through addons API page

    The SCRIPTSECTION is just for logging/debugging... So I know where it failed if it does! I didn't use jq as I didn't want it dependent on anything outside of the script. I think jq is installed through entware. Also... Never used github/git before so I'm learning this too ;)
  13. H

    Manage NordVPN recommended servers through addons API page

    Here's the script. It can switch to the recommended NordVPN server (hardcoded to udp at the moment) and can set up a cron/cru job for scheduled updates... ... still stuck on the web UI part of the addon. I'd like to be able to switch and configure scheduled checks using an asp page :(...
  14. H

    Suggestions for Merlin Add-ons

    I've got a script for NordVPN that queries their api and can be triggered to switch to their recommended server or set up cron for scheduled checking and switching (including removal of the cron entries). If other VPN providers have an api, it could easily be adapted to incorporate them! I...
  15. H

    Manage NordVPN recommended servers through addons API page

    I've been running a script on my AC68U for a while now that runs automatically to check for the recommended VPN server from NordVPN twice a week during the night and switches to it. With the introduction of the addons API capability I think the wider use of this could be made much easier! If I...
  16. H

    Scripted VPN client configuration

    I've got this working for nordvpn (somewhat) - it doesn't take the full ovpn file though. Initially you need to import a nordvpn ovpn file and the script will check the nordvpn api for the recommended server (using the udp protocol)... and will switch to it (including any certificate change). If...
  17. H

    Scripted VPN client configuration

    @Marin I have most of this already... 2, 3 and 4 can easily be done via api calls. I already automatically download the best (highest capacity server with lowest ping) ovpn file. I have to upload it manually to the router (5)... This is what I'm trying to automate! I have a script for policy...
  18. H

    Scripted VPN client configuration

    Anyone? This does something similar for nordvpn: https://github.com/jotyGill/openpyn-nordvpn/ ... But I intend to write something purely in bash to remove the need for dependencies and (if possible) make it work across vpn providers and not just nordvpn.
  19. H

    After 384.9 update internet shows disconnected....

    I believe I had the same issue and it was related to the IP address ranges used by the vpn clients and vpn server. I run a server and a client and found they were both using the same address range... 10.8.0.0 I think!?!? I changed the vpn server subnet to 10.9.0.0. To those affected... Do you...
  20. H

    VPN client list nvram variables

    Aren't the clientlist entries stored against the following: vpn_client1_clientlist= vpn_client2_clientlist= vpn_client3_clientlist= vpn_client4_clientlist= vpn_client5_clientlist= Not... vpn_client[NUM]_clientlist[NUM]= run "nvram get vpn_client5_clientlist" to see the output of the...
Top