Skip to content

Instantly share code, notes, and snippets.

@perryh
perryh / auto-ovpn.sh
Last active August 29, 2015 14:10 — forked from lowstz/auto-ovpn.sh
#!/bin/bash
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
### Thanks Xream's Work XD
# if you don't have several vpn servers to select, you can comment following line
# and use your openvpn config file name to replace "${host}.ovpn" in while loop.
read -p "Select the host: " host