Last active
August 22, 2016 13:05
-
-
Save akhal3d96/714d5a9174b6976b38b7a77a42451167 to your computer and use it in GitHub Desktop.
Quickly establish a connection with a free VPN server in USA in order to access Spotify's services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -o vpn.zip -s "https://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-US1.zip" && unzip vpn.zip -d ~/vpn_files && echo "vpnbook" > ~/.auth && curl -s "https://www.vpnbook.com/" | grep Password | tr -d '\t\n\r\f' | grep -Eo 'Password: [a-zA-Z0-9]*' | uniq | sed 's/Password: //' >> ~/.auth && sudo openvpn --config ~/vpn_files/vpnbook-us1-tcp443.ovpn --auth-user-pass ~/.auth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment