OpenVPN: Difference between revisions

From Sam J Wiki
Jump to navigationJump to search
Watkinsj (talk | contribs)
Created page with "== Adding a new client. == To add a new client, we are going to first create a certificate using easy-rsa. As root: > cd ~/openvpn-ca <br/> > ./easyrsa gen-req jonphone nopass <br/> > ./easyrsa sign-req client jonphone <br/>"
 
Watkinsj (talk | contribs)
 
Line 1: Line 1:
== Adding a new client. ==
== Adding a new client. ==
To add a new client, we are going to first create a certificate using easy-rsa.
To add a new client, we are going to first create a certificate using easy-rsa.
Our client will be "guest1".


As root:
As root:


> cd ~/openvpn-ca <br/>
> cd ~/openvpn-ca <br/>
> ./easyrsa gen-req jonphone nopass <br/>
> ./easyrsa gen-req guest1 nopass <br/>
> ./easyrsa sign-req client jonphone <br/>
> ./easyrsa sign-req client guest1 <br/>
> cd ~
> ./make-client-config.sh guest1
 
Now scp from Sam's account and download the new guest1.ovpn for use in OpenVPN client.

Latest revision as of 22:11, 6 February 2026

Adding a new client.

To add a new client, we are going to first create a certificate using easy-rsa.

Our client will be "guest1".

As root:

> cd ~/openvpn-ca
> ./easyrsa gen-req guest1 nopass
> ./easyrsa sign-req client guest1
> cd ~ > ./make-client-config.sh guest1

Now scp from Sam's account and download the new guest1.ovpn for use in OpenVPN client.