Changes

Line 67: Line 67:  
==Client configuration==
 
==Client configuration==
   −
Configure the OpenVPN and Stunnel clients that will be connecting to the server. Unlike in the server, there is reason tu configure Stunnel client before the OpenVPN client (the other way around will also work but an OpenVPN service restart may be required) so it is recommended to start with that.
+
Configure the OpenVPN and Stunnel clients that will be connecting to the server. Unlike in the server, there is reason to configure Stunnel client before the OpenVPN client (the other way around will also work but an OpenVPN service restart may be required) so it is recommended to start with that.
    
The OpenVPN client will connect to <i>TCP port 1194</i> of the local host and the Stunnel client will connect to the WAN IP and Stunnel port (<i>192.168.10.1:9999</i> in this example) of the server router.
 
The OpenVPN client will connect to <i>TCP port 1194</i> of the local host and the Stunnel client will connect to the WAN IP and Stunnel port (<i>192.168.10.1:9999</i> in this example) of the server router.
Line 93: Line 93:  
===OpenVPN client===
 
===OpenVPN client===
 
----
 
----
Navigate to the <b>Services → VPN → OpenVPN</b> page. Select <i>Role: Cerver</i>, enter a custom name and click the 'Add New' button. An OpenVPN client instance with the given name will appear in the "OpenVPN Configuration" list. To begin configuration, click the 'Edit' button next to the client instance.
+
Navigate to the <b>Services → VPN → OpenVPN</b> page. Select <i>Role: Server</i>, enter a custom name and click the 'Add New' button. An OpenVPN client instance with the given name will appear in the "OpenVPN Configuration" list. To begin configuration, click the 'Edit' button next to the client instance.
    
The figure below displays the configuration used for our example. Take note of the comments that are provided next to fields that differ from the default value:
 
The figure below displays the configuration used for our example. Take note of the comments that are provided next to fields that differ from the default value:
Line 120: Line 120:  
         <pre>
 
         <pre>
 
16122 root      2992 S    /usr/bin/stunnel /tmp/stunnel.conf
 
16122 root      2992 S    /usr/bin/stunnel /tmp/stunnel.conf
16178 root      3096 S    /usr/bin/stunnel /tmp/stunnel.conf
   
         </pre>For OpenVPN use this command:
 
         </pre>For OpenVPN use this command:
 
         <pre>ps | grep openvpn | grep -v grep</pre>The output should look similar to this:
 
         <pre>ps | grep openvpn | grep -v grep</pre>The output should look similar to this:
Line 134: Line 133:  
</ul>
 
</ul>
   −
[[Category:{{{name}}} WebUI]]
+
[[Category:{{{name}}} Configuration Examples]]

Navigation menu