Instalacija OpenVPN servera

Postupak se odnosi na Debian server (nisam isprobavao na non Debian serverima ali vjerujem da je sve isto).

Instalacije:
wget - https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

Pozdravna poruka:
Welcome to this OpenVPN road warrior installer!
I need to ask you a few questions before starting setup.
You can use the default options and just press enter if you are ok with them.

Biramo protokol:
Which protocol do you want for OpenVPN connections?
1) UDP (recommended)
2) TCP
Protocol [1]: 1

Biramo port:
What port do you want OpenVPN listening to?
Port [1194]:

Biramo DNS server:
Which DNS do you want to use with the VPN?
1) Current system resolvers
2) 1.1.1.1
3) Google
4) OpenDNS
5) NTT
6) AdGuard
DNS [1]: 3

Finally, tell me a name for the client certificate.

Dodajemo ime klijenta:
Client name [client]: imeklijenta

We are ready to set up your OpenVPN server now.
Press any key to continue...

Napomena: Ukoliko želite više računala spojiti morate napraviti klijent za svako računalo.

Za instalaciju na Windows OS morate skinuti aplikaciju sa OpenVPN stranice i to Community edition te napravite import ovpn datoteke.

Za instalaciju na Debian OS trebate instalirati network-manager-openvpn kao i network-manager-openvpn-gnome te u network manageru napravite import ovpn datoteke.