[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:security:openvpn [2013/01/14 21:38 (UTC)] – howtos:misc:openvpn renamed to howtos:security:openvpn (Moved as per author's request) alienbobhowtos:security:openvpn [2013/01/23 00:25 (UTC)] – [How to use OpenVPN] comfree
Line 14: Line 14:
  
 If you don't have a config that you can use you should have a look in /etc/openvpn. Slackware has a example config with some good hints in there. If you don't have a config that you can use you should have a look in /etc/openvpn. Slackware has a example config with some good hints in there.
 +
 +==== Using OpenVPN with the i3wm ====
 +
 +I'm using the [[howtos:window_managers:i3wm|i3 window manager]] with dmenu and the i3statusbar. You can configure the bar to show you if you're running openvpn or not.
 +The i3status.conf lies in /etc/ if installed with the SlackBuild.
 +
 +You have to start openvpn with an additional --writepid /path/to/your.pid.
 +
 +For example:
 +
 +<code>
 +openvpn --config /etc/openvpn/vpn.ovpn --writepid /var/run/pid/openvpn.pid
 +</code>
 +
 +To use the build in feature you have to edit the config file.
 +Look for the
 +<code>
 +run_watch VPN {
 +        pidfile = "/var/run/something.pid"
 +}</code>
 +
 +block and change the something into your choosen pid name. 
 +In this case:
 +
 +<code>
 +run_watch VPN
 +        pidfile = "/var/run/openvpn.pid"
 +}
 +</code>
 +
  
 ===== Using OpenVPN with a password file ===== ===== Using OpenVPN with a password file =====
Line 99: Line 129:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtos}}+{{tag>howtos openvpn slackbuild security}}
  
 howtos:security:openvpn ()