Skip to content

Instantly share code, notes, and snippets.

@fitz123
Last active August 29, 2024 12:30
Show Gist options
  • Save fitz123/b28e0baf376dbe2e4937 to your computer and use it in GitHub Desktop.
Save fitz123/b28e0baf376dbe2e4937 to your computer and use it in GitHub Desktop.
OpenVPN Windows client installation

OpenVPN Windows client installation

To get access to internal network VPN connection is nessessary

To setup and run VPN access user have to have Administrator rights, to avoid that we'll perform all installation steps as Administrator but configure service to be usable for all system users

Manual setup VPN connection to be activated automatically as a service during PC start. If you want to change that behavior - disable the service and use "OpenVPN GUI" app as Administrator

  1. Get a configuration archive from trusted source
  2. Login to a system as Administrator
  3. Download the lastest official OpenVPN client
  4. Install the client. Choose default settings
  5. Unarchive the configuration into "C:\Program Files\OpenVPN\config"
  6. Execute "*.p12" file to install user's certificate 0. Choose "Local Machine" as a Store Location 0. DO NOT mark this key as exportable
  7. Execute "openvpn.reg" file
  8. Open "services" by "ctrl+r", type "SERVICES.MSC", enter 0. Find OpenVPN service, right click -> properties 0. Choose "Startup type" -> "Automatic (Delayed Start)" 0. Save settings and close services window
  9. Restart PC and login as normal, non-Admin user
  10. Wait about 2 mins after OS starts
  11. Test VPN connection by ping 192.168.101.82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment