How to se-up OpenVPN

We know; there are hundreds of turtorials about this. However, we need one, which we are comforted with to get it on our cryptoPartys to the attendees. ;)

Server

<sxh bash> # aptitude install openvpn easy-rsa # vim /etc/sysctl.conf # Change 'net.ipv4.ip_forward = 0' to 'net.ipv4.ip_forward = 1' # sysctl -p /etc/sysctl.conf # cp -rfv /usr/share/easy-rsa /etc/openvpn/ # cd /etc/openvpn/easy-rsa # source vars # change to your needs # ./clean-all # ./buildè-ca CA # ./build-key-server SERVET # ./build-key-pass CLIENT # ./build-dh

</sxh>

Further Links

https://blog.g3rt.nl/openvpn-security-tips.html