jotyGill / openpyn-nordvpn

Easily connect to and switch between, OpenVPN servers hosted by NordVPN on Linux (+patch leakes)
GNU General Public License v3.0
628 stars 114 forks source link

Remotely configure an AsusWrt Merlin instance #235

Open bulletprooffool opened 5 years ago

bulletprooffool commented 5 years ago

Nice work

I was wondering if you have any info on how I could drive the config on an AsusWrt Merlin router from a remote box (mac/ linux). I was hoping to be able to manage the installation and update of VPN profile via a regular external cron job to check latency on a certain country and update the config on the router.

In short, there are 3 reasons I want to do this. 1) My RT-87U router seems to be running a kernel too old for Entware 3x 2) I have a chunk of config on my Asus that I don't want to lose by bodging a kernel upgrade(can't find any decent docs on how to upgrade) 3) I tie my home automation into my router as stands, with voice control via Alexa etc. I want to be able to say 'Alexa, update my VPN config', or 'Alexa, Set VPN config to Italy' - I can get this to execute on a local Unix box as I see fit - but I need that config to then find its way to my Asus Router, before I say 'Alexa, connect VPN'

I understand this is a strange request - I live in hope ;-)

bulletprooffool commented 5 years ago

Sorted this one myself - you can ignore me. Good luck

1951FDG commented 5 years ago

@bulletprooffool how did you sort numero 3 on your list?