-
Notifications
You must be signed in to change notification settings - Fork 28
Question: general vpn provider tool? #57
Comments
Thanks for starting a discussion on this! It has been my goal from the beginning to create a universal tool. I had already put a decent amount of thought into how to approach this and decided that creating a "vpn provider" class abstraction, with all the required methods defined. Any developer could then create support for a provider by creating such a "vpn provider" class by following the provided interface. This could of course be abstracted further by providing configuration files, but I feel some varying logic between providers will be neccessary, so the former may be the best approach. The nordnm tool is currently very reliant on specifics of the NordVPN API, so before this would be possible, quite some restructuring is needed. It will be my goal to begin work on making a universal version once I have added some more features which I deem important. I also want to have some basic unit tests available and some further testing of core functionality. Any problems that exist now could grow exponentially by adding support for many providers :). I will keep this issue open as a discussion and it will be updated as I put more time into this feature. |
@chadsr Would you consider adding a feature to simply import an `.ovpn" file? Something like: sudo nordnm import /path/to/foo.ovpn --username alice --password princess [--kill-switch] [--auto-connect] And it would work exactly like the last part of The import feature should be a lot simpler to implement. In fact, I modeled this based on the existing I'm currently evaluating some alternatives to NordVPN and I personally find such a feature really handy. I'm willing to implement this myself and submit a Pull Request if this is a feature you'd consider. Please let me know what you think. (P.S. I'll probably at least do a local fork because I myself need this feature.) |
This is mostly a question / brainstorm.
So currently on linux we need a tool per vpn provider, they need to implement:
This while I think the Nord VPN provider specific parts of this tool are quite minimal. Please correct me if I'm wrong. I think it's mostly:
What if these could be defined in configuration files per vpn provider? This way this tool and all it's features could be used for any vpn provider. (For the end users it's probably best if these configurations would be included in the tool itself?)
Maybe, in the future people could even build gui's / os integrations on top of this tool?
(I think AirVPN is currently the only one with a gui client: https://github.com/AirVPN/Eddie )
I'm very curious what your thoughts are on this.
The text was updated successfully, but these errors were encountered: