[blog.rayfoo] Infosec, DFIR, tech geekery, thoughts and whatnot

21Feb/100

SecureMe so far…

Have been using my VPN + proxy + dns resolver combination (or the so-called SecureMe project) for a while to date, and it has served my pretty well so far.. I primarily use this at public wifi hotspots like Wireless@SG, where the network is not trusted.  Of course this could be extended to apply in networks which aren't necessarily private or trusted, which works very well for people running in paranoia mode (like me).

A short review on the different parts of this system so far...

17Nov/090

OpenVPN client fails after running update-resolv-conf

OpenVPN client on Ubuntu "suddenly" stopped working.  A look through the logs showed that the update-resolv-conf script seems to be failing...

ovpn-openvpn[3552]: /etc/openvpn/update-resolv-conf tun0 1500 1542 x.x.x.x x.x.x.x init
ovpn-openvpn[3552]: script failed: external program exited with error status: 1

A quick trace of the update-resolv-conf script shows that the problem's with resolvconf:

resolvconf: Error: /etc/resolv.conf must be a symlink

And the fix for that based on another solution:

sudo rm /etc/resolv.conf
sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf