User Tools

Site Tools


doc:appunti:hardware:gl_mt300n_v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:appunti:hardware:gl_mt300n_v2 [2023/09/11 08:53] – [Installing a new package] niccolodoc:appunti:hardware:gl_mt300n_v2 [2023/09/11 09:00] – [Starting OpenVPN] niccolo
Line 66: Line 66:
 /etc/init.d/openvpn start /etc/init.d/openvpn start
 </code> </code>
 +
 +The usual OpenVPN configuration files can be placed into the **/etc/openvpn/** directory. You can instruct OpenVPN to start the configuration by adding a section into **/etc/config/openvpn** (beware that the **hyphen** is allowd into OpenVPN configuration file, but it is **forbidden** into the OpenWRT name): 
 +
 +<file>
 +config openvpn 'my_openpvpn'
 +        option enabled '1'
 +        option config '/etc/openvpn/my-openvpn.conf'
 +</file>
  
 If you want to be more sure that OpenVPN will start, enable it also into the GL-iNet custom configuration: If you want to be more sure that OpenVPN will start, enable it also into the GL-iNet custom configuration:
doc/appunti/hardware/gl_mt300n_v2.txt · Last modified: 2023/09/11 10:39 by niccolo