/vpnizer

Primary LanguageShell

Very rough shells scripts for setting up an OpenVPN server and generating client keys.

  1. Build/buy/rent a server somewhere
  2. Make certain it's reachable on UDP port 1194
  3. scp setup-vpn-server <public ip of your server>:
  4. ssh <public ip of your server>
  5. export SERVER_IP=<public ip of your server>
  6. sudo ./setup-vpn-server
  7. An initial client config is available in /etc/openvpn/easy-rsa/client

For Android clients, a "fat" OVPN file is useful.

  1. scp create-new-key <public ip of your server>:
  2. ssh <public ip of your server>
  3. sudo ./create-new-key phone
  4. A "fat" OVPN file is available as /etc/openvpn/easy-rsa/client/phone.ovpn