Kurz und knapp zum OpenVPN Server:
# cp -R /usr/local/share/examples/openvpn/easy-rsa/1.0 /root
# mv 1.0/ OpenVPN
# cd OpenVPN/
# vi vars
# . ./vars
# ./clean-all
# ./build-ca
# ./build-key-server host.domain.dom
# ./build-key client
# ./build-dh
# cd keys
# /usr/local/sbin/openvpn –genkey –secret ta.key
# mkdir /etc/openvpn
# cd /etc/openvpn/
# mkdir ca server
# cp /root/OpenVPN/keys/ca* /etc/openvpn/ca/
# cp /root/OpenVPN/keys/ta.key /etc/openvpn/server/
# cp /root/OpenVPN/keys/dh1024.pem /etc/openvpn/server/
# cp /root/OpenVPN/keys/host.domain.dom.* /etc/openvpn/server/
# chmod 600 /etc/openvpn/ca/*
# chmod 600 /etc/openvpn/server/*
# cp /usr/local/share/examples/openvpn/sample-config-files/server.conf /etc/openvpn/
# vi /etc/openvpn/server.conf
# /usr/local/sbin/openvpn /etc/openvpn/server.conf &