<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>[blog.rayfoo] &#187; OpenVPN</title>
	<atom:link href="http://blog.rayfoo.info/tag/openvpn/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.rayfoo.info</link>
	<description>Infosec, DFIR, tech geekery, thoughts and whatnot</description>
	<lastBuildDate>Wed, 25 Jan 2012 00:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>(How to) Signup for SecureMe</title>
		<link>http://blog.rayfoo.info/2010/02/how-to-signup-for-secureme</link>
		<comments>http://blog.rayfoo.info/2010/02/how-to-signup-for-secureme#comments</comments>
		<pubDate>Thu, 25 Feb 2010 17:41:23 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[signup]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=448</guid>
		<description><![CDATA[If you wish to have a safe and private way to surf the internets while you're at a public wifi hotspot, or somewhere like a hotel "free" network or whatnot, why not consider using a VPN + proxy + DNS resolver combination? SecureMe is a project I started to try out and get some experience [...]]]></description>
			<content:encoded><![CDATA[<p>If you wish to have a safe and private way to surf the internets while you're at a public wifi hotspot, or somewhere like a hotel "free" network or whatnot, why not consider using a VPN + proxy + DNS resolver combination?</p>
<p>SecureMe is a project I started to try out and get some experience from running an operational combination like this, and I have been using it without much issues for the past quarter year to date.</p>
<p>I'm opening this as a service to people who'd like to make use of this service too, and for no minimum cost!  I only ask for the following:<br />
1. feedback/suggestions/complaints/compliments!<br />
2. (if you're feeling generous) donations to help me upkeep my server at least (I don't intend to strike it rich with this anyway) <img src='http://blog.rayfoo.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>If you wish to use this, email me at <strong>secureme{@T}rayfoo[dot]info</strong> to enquire on availability.  Alternatively you could <a href="http://twitter.com/MeNotBot">tweet</a> or <a href="http://www.facebook.com/rayyyfoo">FB</a> me...</p>
<p>I'll support this as much as possible where time/resources permits, but for now I'd suggest that (at least) the slightly more technically inclined try this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2010/02/how-to-signup-for-secureme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SecureMe so far&#8230;</title>
		<link>http://blog.rayfoo.info/2010/02/secureme-so-far</link>
		<comments>http://blog.rayfoo.info/2010/02/secureme-so-far#comments</comments>
		<pubDate>Sun, 21 Feb 2010 09:16:07 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=436</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>Have been using my VPN + proxy + dns resolver combination (or the so-called <a href="http://blog.rayfoo.info/tag/secureme">SecureMe</a> project) for a while to date, and it has served my pretty well so far.. I primarily use this at public wifi hotspots like <a href="http://en.wikipedia.org/wiki/Wireless@SG">Wireless@SG</a>, 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).</p>
<p>A short review on the different parts of this system so far...</p>
<p><span id="more-436"></span></p>
<h2>1. Automatic starting</h2>
<p>The <a href="http://en.wikipedia.org/wiki/OpenVPN">OpenVPN</a> client installed can be made to autostart and run as a background service, (re-)connecting to the VPN automatically whenever there's network connectivity to the OpenVPN server.  Coupled with automatic configuration of the client's DNS resolver list this allows for automatic protection/privacy of the DNS queries sent out.  The automatic configuration of the DNS resolver can be disabled too if need be.</p>
<h2>2. Ease of use</h2>
<p>Connecting to the proxy afterward is a "simple" proxy configuration change in the browser of choice.  This can be conveniently done (and undone) with extensions like <a href="https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj">Proxy Switchy!</a> for Google Chrome, or <a href="http://foxyproxy.mozdev.org/">FoxyProxy</a> for Firefox.</p>
<h2>3. Initial setup efforts needed</h2>
<p>All this is working nice and dandy for me now, with little inconvenience involved in activating SecureMe. Now one of the problems faced in making this user-friendly/"idiot-proof" would be the high setup efforts needed (really plenty of hoops to jump through, especially for the no-so-technically-inclined user).  One way would be to come up with some sort of "portable" package that has been preconfigured as much as possible, or an installer that helps you to do most of the work.</p>
<h2>4. DNS requests leakage</h2>
<p>Another issue is the small possibility of DNS request leaks.  For example, the behaviour of the OpenVPN client in linux is to add the DNS resolver at the top of the resolver list (/etc/resolv.conf), but if the DNS query is deemed to take "too long", the request goes out to the next DNS resolver in the list, which usually is the DNS resolver for the public wifi hotspot.  Though this won't cause things to break, it does allow some queries to go out in the open network.  One of the ways I know of to solve this would be to configure a SOCKS proxy, so that it would be possible for browsers like Firefox to <a href="http://kb.mozillazine.org/Network.proxy.socks_remote_dns">send all DNS queries to the SOCKS proxy</a>.</p>
<h2>Conclusion:</h2>
<p>This seems to be working well so far, with Linode's rare downtime the past months.  More work could be done to make this simpler for others to setup, but I guess I will only do this sparingly in my free time.  No one seems to be geeky/interested enough to want to have this available to them for free so far, heh.</h2>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2010/02/secureme-so-far/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN client fails after running update-resolv-conf</title>
		<link>http://blog.rayfoo.info/2009/11/openvpn-client-fails-after-running-update-resolv-conf</link>
		<comments>http://blog.rayfoo.info/2009/11/openvpn-client-fails-after-running-update-resolv-conf#comments</comments>
		<pubDate>Tue, 17 Nov 2009 02:46:17 +0000</pubDate>
		<dc:creator>ray</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.rayfoo.info/?p=352</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>OpenVPN client on Ubuntu "suddenly" stopped working.  A look through the logs showed that the update-resolv-conf script seems to be failing...</p>
<p><code>ovpn-openvpn[3552]: /etc/openvpn/update-resolv-conf tun0 1500 1542 x.x.x.x x.x.x.x init<br />
ovpn-openvpn[3552]: script failed: external program exited with error status: 1</code></p>
<p>A quick trace of the update-resolv-conf script shows that the problem's with resolvconf:</p>
<p><code>resolvconf: Error: /etc/resolv.conf must be a symlink</code></p>
<p>And the fix for that based on <a href="http://n0b3l1a.blogspot.com/2009/02/resolvconf-error-etcresolvconf-must-be.html">another solution</a>:</p>
<p><code>sudo rm /etc/resolv.conf<br />
sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayfoo.info/2009/11/openvpn-client-fails-after-running-update-resolv-conf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

