LinkedIn Sourceforge

Vincent's Blog

Pleasure in the job puts perfection in the work (Aristote)

Category: VPN

OpenVPN on OpenBSD

Posted on 2017-06-05 18:14:00 by Vincent in OpenBSD VPN

I've read several articles concerning the setup of OpenVPN on OpenBSD. But I've decided to post this one because none I've read address the problem coming from the setuid. Indeed, to avoid that OpenVPN stays in memory with the root user, you can configure it to setuid to an anther user, usually _openvpn. Problem, when you close the connection, this user must have the correct rights to set back your networks configuration settings: route, resolv.conf.

Read more ...