Simple python script to generate .ovpn config file. It fetch free vpn server information from https://www.vpngate.net/en/ .
pip3 install -r requirements.txt
python3 vp-fetch.py
Select the country from the list and press enter.
<country_name>.ovpn file will be save in current working dir. In my case I select Canada.
file in the folder
To connect to the vpn server use the command
sudo openvpn Canada.ovpn
- Ubuntu 20.04
- python 3.7.9 and 3.8.5
-
required python libraries
- bullet
- pandas
- bs4
- requests
-
openvpn client