[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:security:openvpn [2013/01/14 21:43 (UTC)] – [Sources] comfree | howtos:security:openvpn [2013/01/23 00:28 (UTC)] (current) – [Using OpenVPN with the i3wm] comfree | ||
---|---|---|---|
Line 15: | Line 15: | ||
If you don't have a config that you can use you should have a look in / | If you don't have a config that you can use you should have a look in / | ||
- | ===== Using OpenVPN with a password | + | ==== Using OpenVPN with the i3 status bar ==== |
+ | |||
+ | I'm using the [[howtos: | ||
+ | The i3status.conf lies in /etc/ if installed with the SlackBuild. | ||
+ | |||
+ | You have to start openvpn with an additional --writepid / | ||
+ | |||
+ | For example: | ||
+ | |||
+ | < | ||
+ | openvpn --config / | ||
+ | </ | ||
+ | |||
+ | To use the build in feature you have to edit the config file. | ||
+ | Look for the | ||
+ | < | ||
+ | run_watch VPN { | ||
+ | pidfile = "/ | ||
+ | }</ | ||
+ | |||
+ | block and change the something into your choosen pid name. | ||
+ | In this case: | ||
+ | |||
+ | < | ||
+ | run_watch VPN | ||
+ | pidfile = "/ | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Rebuilding OpenVPN to read your login from file ===== | ||
Since I wanted my openvpn connection to start automatically when I connect my Thinkpad to the dock I thought it would be usefull to add the ' | Since I wanted my openvpn connection to start automatically when I connect my Thinkpad to the dock I thought it would be usefull to add the ' | ||