DIY VPN: How to Set Up a Free VPN (IPV4 & IPV6) on Ubuntu 18.04 or 20.04 and Windows with OpenVPN

vpn openvpn

Table of Contents

Login to your Ubuntu server.

Create a new folder:

mkdir vpn && cd vpn

Download and run OpenVPN installer script:

wget && bash

Follow the steps to generate a username.ovpn file (during the steps you will be asked, choose a username of your choice).

Login to your Windows computer.

Use an FTP client for Windows like WinSCP to download username.ovpn file locally.

Download OpenVPN for Windows.

When Install finishes open OpenVPN and click + button (orange), then select File and select username.ovpn that we generated previously.

Original Source :