Jump to content

OpenVPN Access Control: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 49: Line 49:


<h1>Connecting clients to the OpenVPN server</h1>
<h1>Connecting clients to the OpenVPN server</h1>
1) Navigate to Services -> VPN -> OpenVPN
2) Add a new OpenVPN instance with a Client role
3) Create an OpenVPN client with these settings
[[File:OpenVPN Client1.png|none|thumb|alt=|1000x1000px]]
Remote host/IP address - Public IP of the OpenVPN server's router
Remote network IP address - 10.0.0.0
Remote network netmask - 255.255.255.240
And add the certificates from the OpenVPN server - Certificate Authority, Client certificate and Client key which we downloaded in Certificate Generation step
4) Press "Save & Apply", enable OpenVPN client and check if the connection is made
[[File:OpenVPN Client1 connected.png|none|thumb|alt=|1000x1000px]]
5) Repeat this step for as many clients as You need. For this example, we will have 3 clients
<h1>Controlling access with traffic rules</h1>


1)
1)