OpenVPN Manual Guide

OpenVPN Manual Guide

What is VPN ?

VPN ( Viirtual Private Network) is private network across a public network and allow devices to connect to VPN server. VPN technology was developed to allow user to connect to their office directly and access restricted service which configured for internal access only.When you connect your computer to a VPN, the computer acts as if it’s on the same network as the VPN . All your network traffic is sent over secure connection.

Example

If you launch instance on nipa.cloud and want to restrict access from public network you can launch OpenVPN server and launch instance without public ip. All you instance can communicate to other instances but we can not access those instance but if you want to access to you instances you have to connect the local network via OpenVPN

How to setup OpenVPN client

  1. You have to launch OpenVPN server
  2. Remote and copy certificate file from server into pc

 

Manual Guide for Windows

First launch OpenVPN image on nipa.cloud

***remark : if you want to get client.ovpn you must launch Openvpn server with password authentication)

1.Open filezilla and enter ip address, Username (default is nc-user), Password ,port ( 22 )

 

2. Click Quickconnect to connect

 

3. Wait until Filezilla connected successfully. You will see file directory on the right side

 

4. Right click on client.ovpn and click download

 

5. At the bottom you will see destination directory

 

 

6. Go to destination directory and copy client.ovpn to C;\Users\<your user>\OpenVPN\config

 

7. Open OpenVPN GUI as administrator the connect by right click on OpenVPN icon and click connect

 

8. Wait until this windows disappear or connect successfully

 

9. Now you can access any service in you VPC via private ip

 

Manual Guide for macOS & Linux

How to set up and connect to OpenVPN server

1. Launch OpenVPN image on nipa.cloud

2. Copy certificate

command : scp nc-user@<your OpenVPN host>:client.ovpn  /path/to/local/directory/

3. Connect VPN

command: sudo openvpn –config /path/to/you/certificate.ovpn

Was this article helpful?

No 0

About the Author

LEAVE COMMENT