https://github.com/Wenzel/protonvpn-nm-import
Script to import ProtonVPN configuration files into NetworkManager automatically
https://github.com/Wenzel/protonvpn-nm-import
networkmanager networkmanager-openvpn openvpn protonvpn
Last synced: 5 months ago
JSON representation
Script to import ProtonVPN configuration files into NetworkManager automatically
- Host: GitHub
- URL: https://github.com/Wenzel/protonvpn-nm-import
- Owner: Wenzel
- License: gpl-3.0
- Created: 2019-04-15T00:23:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-06T17:46:15.000Z (over 5 years ago)
- Last Synced: 2025-01-09T10:06:06.626Z (5 months ago)
- Topics: networkmanager, networkmanager-openvpn, openvpn, protonvpn
- Language: Python
- Homepage:
- Size: 206 KB
- Stars: 10
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# protonvpn-nm-import
[](https://github.com/RichardLitt/standard-readme)
> ProtonVPN to NetworkManager import script
## Table of Contents
- [Overview](#overview)
- [Install](#install)
- [Usage](#usage)
- [Maintainers](#maintainers)
- [Contributing](#contributing)
- [License](#license)## Overview
This script will automatically import your ProtonVPN{`server/country/securecore`} configuration files
into `NetworkManager`, preconfigured with your credentials.## Requirements
- `Python >= 3.4`
- `python3-docopt`## Install
To install the dependencies on `Ubuntu`:
~~~
sudo apt-get install python3-docopt
~~~## Usage
### Import
~~~
protonvpn-nm-import.py [options]
~~~By default, the script will import **all** the configuration files in `configs` directory (more than `800`).
If a configuration already exists, it removes it before importing the new one.
To import a specific directory, use `--config`:
~~~
protonvpn-nm-import.py --config configs/tcp/country USERNAME PASSWORD
INFO:root:walking through configs/tcp/country
INFO:root:IMPORT fi.protonvpn.com.tcp.ovpn
INFO:root:IMPORT il.protonvpn.com.tcp.ovpn
INFO:root:IMPORT dk.protonvpn.com.tcp.ovpn
INFO:root:IMPORT pt.protonvpn.com.tcp.ovpn
INFO:root:IMPORT fr.protonvpn.com.tcp.ovpn
INFO:root:IMPORT is.protonvpn.com.tcp.ovpn
~~~### Cleanup
To clean your previous config files:
~~~
protonvpn-nm-import.py --cleanup
INFO:root:DELETE connection: at.protonvpn.com.tcp
INFO:root:DELETE connection: au.protonvpn.com.tcp
INFO:root:DELETE connection: be.protonvpn.com.tcp
INFO:root:DELETE connection: br.protonvpn.com.tcp
INFO:root:DELETE connection: ca.protonvpn.com.tcp
INFO:root:DELETE connection: ch.protonvpn.com.tcp
INFO:root:DELETE connection: cz.protonvpn.com.tcp
INFO:root:DELETE connection: de.protonvpn.com.tcp
~~~## References
- [ProtonVPN](https://protonvpn.com/): ProtonVPN website
## Maintainers
[@Wenzel](https://github.com/Wenzel)
## Contributing
PRs accepted.
Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.
## License
[GNU General Public License v3.0](https://github.com/Wenzel/pyvmidbg/blob/master/LICENSE)