Exposing an OpenVPN tunnel as a SOCKS5 proxy

This took me way too long to figure out. For a usecase that should be very common I couldn t find any tutorial on how to do this simple thing. This tutorial assumes you have a...