Copyright (C) 2008-2017 Oliver Bohlen.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

A copy of the license is included in the section entitled "GNU Free Documentation License".


This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Howto: VPN-Client for Gentoo Linux

This is a short documentation how I use OpenVPN as a client.
For this you need to get the specific certificates from the Server Admin.

If you want to use this solution you need the following howto(s) finished:

Required software

The required software has to be installed with the following command(s):
emerge net-misc/openvpn

Changes in /etc/openvpn/client/

File permissions:
Owner: root
Group: root
Permissions: -rwx------

Click here for a download of the complete file: /etc/openvpn/client/

Changed on 07.09.08
Issued by olli
Beginning line 1

Script for restarting the VPN-Client


echo "`date` --> offline" >> /var/log/openvpn/client.status

# Alles kaputt machen!!!
killall -9 >/dev/null 2>&1
sleep 5
killall -9  >/dev/null 2>&1
# VPN-Client wieder starten
echo "`date`" >>/tmp/vpn-start
/etc/openvpn/client/ >>/tmp/vpn-start 2>&1

Please send a feedback to: doc<at>

Howto listing
File Index

Here you can find the official Gentoo Linux Forums where you can find a lot of answers.

Here a link to the official Gentoo Linux Homepage.

Edit Howto

About / Impressum

Click here for About / Impressum


If you want to support my work you can find my Amazon whishlist here