Connect VPN via Python
Here we are going to connect the VPN services through the python. After connect the VPN we can crawl the blocked website and so on. The script going to use the free VPN services provided by VPNGate . The VPN based on the user input countries. Prerequired Open vpn must be available in your system. Use the below command to install open vpn in your linux machine, 1 apt-get install openvpn easy-rsa further more details for the installation , Please follow the link install openvpn Usage Run the script by providing the desired output country like given below, 1 python script.py IN Instead of giving country short name we can use the full name like given below, 1 python script.py India further supported country information list available in that link. Please click me to see the details The connection script is given below, Here we are checked the ip address instance after connected through the vpn. 1 2 3 4 5 6 7 8 9 10 11 12 13 ...