<?xml version="1.0" encoding="UTF-8"?>
<rss 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/" version="2.0">

<channel>
	<title>Too Far North</title>
	
	<link>http://daffy.za.net</link>
	<description>Adventures, just a little too far north</description>
	<lastBuildDate>Thu, 22 Jul 2010 14:09:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TooFarNorth" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="toofarnorth" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Perching Planes</title>
		<link>http://daffy.za.net/2010/07/perching-planes/</link>
		<comments>http://daffy.za.net/2010/07/perching-planes/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 14:08:29 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MIT]]></category>
		<category><![CDATA[random linkage]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=569</guid>
		<description><![CDATA[Found this interesting article. Looks like some smart people at MIT have been studying the aerodynamics of birds and planes, and have designed a Glider that can perch on a wire (like a bird). Read on to watch a video of it in action.]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F07%2Fperching-planes%2F&amp;via=daffy_duc&amp;text=Perching+Planes&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>Found <a title="MIT researchers create a model plane that lands on a wire" href="http://www.gizmag.com/mit-plane-lands-on-wire/15792/">this interesting article</a>.</p>
<p>Looks like some smart people at MIT have been studying the aerodynamics of birds and planes, and have designed a Glider that can perch on a wire (like a bird).</p>
<p>Read on to watch a video of it in action.</p>
<p><span id="more-569"></span><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="530" height="215" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="bgcolor" value="0x000000" /><param name="flashvars" value="&amp;backcolor=0x000000&amp;bandwidth=7604&amp;dock=false&amp;file=http%3A%2F%2Fgroups.csail.mit.edu%2Flocomotion%2Fperching_media%2Fvideo%2Fvi_perching_title.mp4&amp;frontcolor=0xCCCCCC&amp;level=0&amp;lightcolor=0x557722&amp;plugins=viral-2d" /><param name="src" value="http://groups.csail.mit.edu/locomotion/shadowbox/libraries/mediaplayer/player.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="530" height="215" src="http://groups.csail.mit.edu/locomotion/shadowbox/libraries/mediaplayer/player.swf" allowfullscreen="true" flashvars="&amp;backcolor=0x000000&amp;bandwidth=7604&amp;dock=false&amp;file=http%3A%2F%2Fgroups.csail.mit.edu%2Flocomotion%2Fperching_media%2Fvideo%2Fvi_perching_title.mp4&amp;frontcolor=0xCCCCCC&amp;level=0&amp;lightcolor=0x557722&amp;plugins=viral-2d" bgcolor="0x000000"></embed></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=FdadysiPNZE:bIVzpIhC_rg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=FdadysiPNZE:bIVzpIhC_rg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=FdadysiPNZE:bIVzpIhC_rg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=FdadysiPNZE:bIVzpIhC_rg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=FdadysiPNZE:bIVzpIhC_rg:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/07/perching-planes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seacom problems</title>
		<link>http://daffy.za.net/2010/07/seacom-problems/</link>
		<comments>http://daffy.za.net/2010/07/seacom-problems/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 15:49:37 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[south africa]]></category>
		<category><![CDATA[telecoms]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=538</guid>
		<description><![CDATA[Or the alternate title of &#8220;Why your inability to access international content is your ISP&#8217;s fault, and not Seacom&#8217;s&#8221; Or &#8220;Why your cheap-as-chips residential ADSL Broadband account is broken, and why I don&#8217;t care&#8221; I could go on with all the complaints that I&#8217;ve heard over the last 24 hours, and all the stupid reasoning [...]]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F07%2Fseacom-problems%2F&amp;via=daffy_duc&amp;text=Seacom+problems&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>Or the alternate title of &#8220;Why your inability to access international content is your ISP&#8217;s fault, and not Seacom&#8217;s&#8221;<br />
Or &#8220;Why your cheap-as-chips residential ADSL Broadband account is broken, and why I don&#8217;t care&#8221;</p>
<p>I could go on with all the complaints that I&#8217;ve heard over the last 24 hours, and all the stupid reasoning behind those complaints. But I won&#8217;t. I&#8217;ll try and be helpfully informative.</p>
<p>So we&#8217;ll start with the facts:</p>
<ul>
<li>Seacom is one of the Submarine fiber cables that connect South Africa to Europe.</li>
<li>There are other ways out of South Africa to Europe, that do not rely on Seacom.</li>
<li>Residential ADSL users are quite far down the list of priorities for most ISP&#8217;s.</li>
<li>Business users on leased lines account for significantly more income than ADSL users.</li>
<li>You get what you pay for.</li>
</ul>
<p>Your choice of ISP should take all of these facts into account:</p>
<ul>
<li>Does your ISP have multiple international circuits?</li>
<li>Are these circuits physically diverse (ie: not the same cable).</li>
<li>Are you actually paying for a service that will make use of the backup circuits in the event of a failure?</li>
</ul>
<p>Chances are, unless you have a leased line service, and you pay something in the region of R20000 a month for it, you will be affected by the <a href="http://www.seacom.mu/news/news_details.asp?iID=143">Seacom problems</a>.</p>
<p>It would be incredibly naive of any ISP to expect that a single upstream provider will be up 100% of the time. Seacom do not promise a 100% uptime, so how can you expect that level of service if you rely solely on them?</p>
<p>The solution for the ISPs? Use one of those other forms of international connectivity. Such as the SAT3-SAFE cable. Sure, thats expensive, so only use that for your &#8220;premium&#8221; customers. Like those guys paying R20000+ a month for their leased lines. They&#8217;ll get what they pay for.</p>
<p>And that there, is the difference between the R900 you pay a month for 4mbit ADSL, and R20000 per month for 4mbit leased line.</p>
<p>You get what you pay for.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=bq9cEFcOU7k:VSufmjVWtkw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=bq9cEFcOU7k:VSufmjVWtkw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=bq9cEFcOU7k:VSufmjVWtkw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=bq9cEFcOU7k:VSufmjVWtkw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=bq9cEFcOU7k:VSufmjVWtkw:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/07/seacom-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Izzy broke her toe</title>
		<link>http://daffy.za.net/2010/03/izzy-broke-her-toe/</link>
		<comments>http://daffy.za.net/2010/03/izzy-broke-her-toe/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 18:29:20 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=486</guid>
		<description><![CDATA[Not much to say really. Izzy broke her toe on Tuesday, so we took her to the vet. And this is what came back.]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F03%2Fizzy-broke-her-toe%2F&amp;via=daffy_duc&amp;text=Izzy+broke+her+toe&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>Not much to say really. Izzy broke her toe on Tuesday, so we took her to the vet. And this is what came back.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/pVMVZ6Vmutw&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/pVMVZ6Vmutw&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=aVBn-NwnA5g:NzjMtkvDaLI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=aVBn-NwnA5g:NzjMtkvDaLI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=aVBn-NwnA5g:NzjMtkvDaLI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=aVBn-NwnA5g:NzjMtkvDaLI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=aVBn-NwnA5g:NzjMtkvDaLI:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/03/izzy-broke-her-toe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mini-guide: Basic OpenVPN Server</title>
		<link>http://daffy.za.net/2010/02/mini-guide-basic-openvpn-server/</link>
		<comments>http://daffy.za.net/2010/02/mini-guide-basic-openvpn-server/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 15:44:09 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=475</guid>
		<description><![CDATA[This post is especially for Rommel. He saw my last mini-guides on OpenVPN on RouterOS, and wanted to know how to set up an OpenVPN Server on Linux that operates the same as the OpenVPN Server in RouterOS. So, this one will be short and simple, as there are a thousand different ways to do [...]]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F02%2Fmini-guide-basic-openvpn-server%2F&amp;via=daffy_duc&amp;text=mini-guide%3A+Basic+OpenVPN+Server&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>This post is especially for Rommel. He saw my <a href="http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/">last</a> mini-guides on OpenVPN on RouterOS, and wanted to know how to set up an OpenVPN Server on Linux that operates the same as the <a href="http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotik-routeros-vpn-server/">OpenVPN Server in RouterOS</a>.</p>
<p>So, this one will be short and simple, as there are a thousand different ways to do an OpenVPN Server on linux, but this way will make it work the same way its configured in my mini-guide.</p>
<p><span id="more-475"></span></p>
<p>Start be installing OpenVPN on your Linux machine.<br />
In Ubuntu or Debian, this is as easy as</p>
<pre>sudo apt-get install openvpn</pre>
<p>Lets get the Certificates in the keys directory, if you haven&#8217;t already done it as part of the <a href="http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/">certificate generation mini-guide</a>.</p>
<pre>sudo mkdir /etc/openvpn/keys</pre>
<p>Put your server .key and .crt in here, as well as your ca.crt</p>
<p>You will also want to copy the dh1024.pem from your certificate store.</p>
<p>Then, create a configuration file (we&#8217;ll call it server.conf), in /etc/openvpn/</p>
<pre>sudo vi /etc/openvpn/server.conf</pre>
<p>And stick the following in it:</p>
<pre>port 1194
proto tcp
dev tun
server 10.1.0.1 255.255.255.0
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/ovpn-server.crt
key /etc/openvpn/keys/ovpn-server.key
dh /etc/openvpn/keys/dh1024.pem
ifconfig-pool-persist ipp.txt
keepalive 10 120
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/server-status.log
verb 3
</pre>
<p>Save it, and restart openvpn</p>
<pre>
/etc/init.d/openvpn restart
</pre>
<p>And that should do it.</p>
<p>If you want to NAT all traffic out towards the Internet, giving the VPN users internet access, add a masquerade rule. Assuming eth1 is your internet facing network interface.</p>
<pre>
sudo iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
</pre>
<p>Simple as that!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=eR19IEZQEy0:ks3ZzI6h7SU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=eR19IEZQEy0:ks3ZzI6h7SU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=eR19IEZQEy0:ks3ZzI6h7SU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=eR19IEZQEy0:ks3ZzI6h7SU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=eR19IEZQEy0:ks3ZzI6h7SU:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/02/mini-guide-basic-openvpn-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN mini-guides: Mikrotik RouterOS VPN Client</title>
		<link>http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotirk-routeros-vpn-client/</link>
		<comments>http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotirk-routeros-vpn-client/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 09:17:48 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=466</guid>
		<description><![CDATA[In the last article I showed how to configure a Mikrotik RouterOS router as an OpenVPN Server. In this mini-guide, I&#8217;ll show how to configure a Mikrotik RouterOS router as an OpenVPN Client, and connect it to the server. First, you&#8217;ll need to copy a client certificate to your client router. You can use this [...]]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F02%2Fopenvpn-mini-guides-mikrotirk-routeros-vpn-client%2F&amp;via=daffy_duc&amp;text=OpenVPN+mini-guides%3A+Mikrotik+RouterOS+VPN+Client&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>In the <a href="http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotik-routeros-vpn-server/">last article</a> I showed how to configure a Mikrotik RouterOS router as an OpenVPN Server.</p>
<p>In this mini-guide, I&#8217;ll show how to configure a Mikrotik RouterOS router as an OpenVPN Client, and connect it to the server.<span id="more-466"></span></p>
<p>First, you&#8217;ll need to copy a client certificate to your client router. You can use <a href="http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/">this guide</a> to help you generate one if you haven&#8217;t already done so. Then import them into RouterOS, as per the instructions.</p>
<p>Then you need to create a PPP Profile.</p>
<pre>/ppp profile
add change-tcp-mss=default comment="" name=openvpn-out only-one=default \
use-compression=default use-encryption=default use-vj-compression=default</pre>
<p>Next, you need to add the ovpn-client interface. Make sure that the certificate is the one that you imported, and that the username and password match what you configured on your server.</p>
<pre>/interface ovpn-client
add add-default-route=no auth=sha1 certificate=client1 cipher=aes128 \
comment="" connect-to= disabled=no mode=ip name=OVPN-Client \
user=client 1 password=password1 port=1194 profile=openvpn-out</pre>
<p>And thats it! Pretty simple really&#8230;<br />
If you want all your internet traffic to go over the VPN, change the add-default-route=no to yes, and it will add the default route down the VPN every time it connects.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=VsXM7Okd7PQ:QdyV2xiehFY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=VsXM7Okd7PQ:QdyV2xiehFY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=VsXM7Okd7PQ:QdyV2xiehFY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=VsXM7Okd7PQ:QdyV2xiehFY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=VsXM7Okd7PQ:QdyV2xiehFY:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotirk-routeros-vpn-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jawug on the ZA Tech Show</title>
		<link>http://daffy.za.net/2010/02/jawug-on-the-za-tech-show/</link>
		<comments>http://daffy.za.net/2010/02/jawug-on-the-za-tech-show/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 15:48:28 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[jawug]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=468</guid>
		<description><![CDATA[So, I was on the ZA Tech show today! A little nerve wrecking, since it was live and I hadn&#8217;t really prepared very much. So much more that I should have said. I spoke about Jawug, and Wug.za.net and the growing popularity of the Wireless User Groups. Show recording is embedded after the jump&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F02%2Fjawug-on-the-za-tech-show%2F&amp;via=daffy_duc&amp;text=Jawug+on+the+ZA+Tech+Show&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>So, I was on the ZA Tech show today!</p>
<p>A little nerve wrecking, since it was live and I hadn&#8217;t really prepared very much. So much more that I should have said.</p>
<p>I spoke about Jawug, and Wug.za.net and the growing popularity of the Wireless User Groups.</p>
<p>Show recording is embedded after the jump&#8230;</p>
<p><span id="more-468"></span><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="386" id="utv773507" name="utv_n_370525"><param name="flashvars" value="autoplay=false" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.ustream.tv/flash/video/5020934" /><embed flashvars="autoplay=false" width="480" height="386" allowfullscreen="true" allowscriptaccess="always" id="utv773507" name="utv_n_370525" src="http://www.ustream.tv/flash/video/5020934" type="application/x-shockwave-flash" /></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=3lNxuKp_p_M:oGlNpDYLfus:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=3lNxuKp_p_M:oGlNpDYLfus:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=3lNxuKp_p_M:oGlNpDYLfus:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=3lNxuKp_p_M:oGlNpDYLfus:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=3lNxuKp_p_M:oGlNpDYLfus:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/02/jawug-on-the-za-tech-show/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN mini-guides: Mikrotik RouterOS VPN Server</title>
		<link>http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotik-routeros-vpn-server/</link>
		<comments>http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotik-routeros-vpn-server/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 11:20:42 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=459</guid>
		<description><![CDATA[In the first mini-guide of this series, I showed how to generate SSL Certificates for use with an OpenVPN setup. This next mini-guide will show how to configure a Mikrotik RouterOS router for use as an OpenVPN Server. This is where your various devices will &#8220;dial-in&#8221; to. Obviously, everyone&#8217;s network is different. So I&#8217;ll try [...]]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F02%2Fopenvpn-mini-guides-mikrotik-routeros-vpn-server%2F&amp;via=daffy_duc&amp;text=OpenVPN+mini-guides%3A+Mikrotik+RouterOS+VPN+Server&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>In the <a href="http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/">first mini-guide</a> of this series, I showed how to generate SSL Certificates for use with an OpenVPN setup.</p>
<p>This next mini-guide will show how to configure a Mikrotik RouterOS router for use as an OpenVPN Server. This is where your various devices will &#8220;dial-in&#8221; to.</p>
<p>Obviously, everyone&#8217;s network is different. So I&#8217;ll try and make this as generic as possible, but without straying from my policy of being as straight forward as I need to be.<br />
So, hopefully, you already have a configured RouterOS router, thats already part of your network.</p>
<p><span id="more-459"></span>Designing the VPN Network</p>
<p>The first step of any network change, is to decide where we want to be when we&#8217;re done.<br />
This mini-guide is going to show you how to create layer-3 tunnels from a remote device, to your home/office gateway router (running RouterOS).</p>
<p>Because we&#8217;re doing a layer-3 configuration, you&#8217;ll need to put aside a range of IPs for your VPN clients.<br />
In this setup, I&#8217;m going to use 10.0.0.1/24 for our LAN, 10.1.0.1/24 for the VPN.</p>
<p>We create an IP Pool, which RouterOS will use to select and assign IPs for the VPN clients. Start at the second IP, since we&#8217;ll use the first IP for the server itself.</p>
<pre>/ip pool add name=ovpn-pool ranges=10.1.0.2-10.1.0.100</pre>
<p>Then we create an PPP Profile, which is used to define the settings of the session created with a VPN Client.</p>
<pre>/ppp profile
add change-tcp-mss=default comment="" local-address=10.1.0.1 \
name="openvpn-in" only-one=default remote-address=openvpn-pool \
use-compression=default use-encryption=required use-vj-compression=default</pre>
<p>Configure the OpenVPN Server. For this, we&#8217;ll need to remember the name of the imported server certificate that you generated in the <a href="http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/">previous article</a>.</p>
<pre>/interface ovpn-server server set auth=sha1,md5 certificate=server-cert \
cipher=blowfish128,aes128,aes192,aes256 default-profile=openvpn-in \
enabled=yes keepalive-timeout=disabled max-mtu=1500 mode=ip netmask=24 \
port=1194 require-client-certificate=no</pre>
<p>Configure your Firewall to allow inbound OpenVPN connections, and allow the OpenVPN Clients to NAT out of your Internet connection (if you want to allow them internet access).</p>
<pre>/ip firewall filter add action=accept chain=input disabled=no protocol=tcp dst-port=1194
/ip firewall nat add action=masquerade chain=src-nat out-interface=</pre>
<p>Then, for every user, you should define a username and password. This also gives you the ability to assign each client a fixed IP, and you&#8217;ll notice that in the ip pool definition I left a chunk of IPs at the end of the /24 free for this.</p>
<pre>/ppp secret add disabled=no name="client1" password="password1"</pre>
<p>This user will have a static IP assigned.</p>
<pre>
/ppp secret add disabled=no name="client2" password="password2" remote-address=10.1.0.101</pre>
<p>And that is the OpenVPN Server, all configured.<br />
In the next mini-guide, I&#8217;ll show you got to set up a Mikrotik RouterOS router as an OpenVPN client.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=XDGbm_KWZfg:IezZMcpiC9c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=XDGbm_KWZfg:IezZMcpiC9c:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=XDGbm_KWZfg:IezZMcpiC9c:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=XDGbm_KWZfg:IezZMcpiC9c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=XDGbm_KWZfg:IezZMcpiC9c:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/02/openvpn-mini-guides-mikrotik-routeros-vpn-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN mini-guides: Certificates</title>
		<link>http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/</link>
		<comments>http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 22:12:25 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=449</guid>
		<description><![CDATA[In this mini-howto, I&#8217;m going to show how to generate Certificates for use with OpenVPN. Its part of a series of posts that will hopefully include: Configuring a Mikrotik RouterOS router as a Server Configuring a Mikrotik RouterOS router as a Client Configuring a Linux machine as a Client Configuring a DD-WRT router as a [...]]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F02%2Fopenvpn-mini-guides-certificates%2F&amp;via=daffy_duc&amp;text=OpenVPN+mini-guides%3A+Certificates&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>In this mini-howto, I&#8217;m going to show how to generate Certificates for use with OpenVPN.</p>
<p>Its part of a series of posts that will hopefully include:<br />
Configuring a Mikrotik RouterOS router as a Server<br />
Configuring a Mikrotik RouterOS router as a Client<br />
Configuring a Linux machine as a Client<br />
Configuring a DD-WRT router as a Client</p>
<p>And <a href="http://freagh.com/">Tomtom</a> will be working with me to produce instructions on connecting to the server from an iPod Touch, iPhone and Nokia N900.</p>
<p>So, lets begin&#8230;<span id="more-449"></span></p>
<p>All the Certificates that we generate, for the server and clients, need to be signed by the same Certificate Authority.<br />
Then, we can generate the server and client certificates.</p>
<h2>Generating Certificates</h2>
<p>Thankfully, there&#8217;s an easy-to-use set of scripts that come with the linux OpenVPN packages, called easy-rsa. So we&#8217;ll first be needing a Debian/Ubuntu machine to follow this howto.</p>
<p>First, install OpenVPN on a linux machine.</p>
<pre>sudo apt-get install openvpn</pre>
<p>Then, lets move the easy-rsa scripts to somewhere useful and easier to remember, and create a directory where we&#8217;ll store the certificates.</p>
<pre>sudo mkdir /etc/openvpn/{easy-rsa,keys}
sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa</pre>
<p>Then, change to the /etc/openvpn/easy-rsa directory and edit the configuration files.</p>
<pre>cd /etc/openvpn/easy-rsa
sudo vi vars</pre>
<p>Edit the file, changing a few of the variables as below:</p>
<pre>export EASY_RSA="/etc/openvpn/easy-rsa"
export KEY_DIR="/etc/openvpn/keys"</pre>
<p>If you want, you can change the values for KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG and KEY_EMAIL to values that make sense for your setup. Now, since we&#8217;ll be setting environment variables, we need an environment.</p>
<pre>sudo bash
source vars</pre>
<p>Take careful notice of that warning. You should only run clean-all ONCE, and this is the time you&#8217;re going to do it.</p>
<pre>./clean-all</pre>
<p>Thats all thats needed to setup the easy-rsa scripts.<br />
Lets get on with generating the keys.<br />
First, the CA (Certificate Authority)</p>
<pre>./pkitool --initca</pre>
<p>Next, we generate the Certificate for the OpenVPN Server.</p>
<pre>./pkitool --server ovpn-server</pre>
<p>Then, for each client, you generate a uniquely named client certificate.</p>
<pre>./pkitool client1</pre>
<p>Repeat for each client</p>
<p>If you want to come back later in a few days to generate a new certificate for a new client, here&#8217;s a quick list of commands to do that.</p>
<pre>sudo bash
cd /etc/openvpn/easy-rsa
source vars
./pkitool client99</pre>
<p>Copying certificates to the RouterOS OpenVPN Server.<br />
Using whatever means you prefer, copy the ca.crt, ovpn-server.crt and ovpn-server.key to your RouterOS router.<br />
I prefer using scp.</p>
<pre>scp ca.crt ovpn-server.crt ovpn-server.key admin@&lt;IP of Router&gt;:.</pre>
<p>Then, on the RouterOS Router, you should import these certificates.</p>
<pre>/certificate import=ca.crt
/certificate import=ovpn-server.crt
/certificate import=ovpn-server.key</pre>
<p>You may want to rename the entries to something you&#8217;ll understand, since they&#8217;ll be named cert1 and cert2 by default.</p>
<p>For your clients, you&#8217;ll need ca.crt, clientX.crt and clientX.key</p>
<p><strong><span style="color: #ffffff;">NEVER</span></strong> distribute ca.key, not even to your OpenVPN Server.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=qMnsJQmBh3c:PDaRoACqFwU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=qMnsJQmBh3c:PDaRoACqFwU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=qMnsJQmBh3c:PDaRoACqFwU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=qMnsJQmBh3c:PDaRoACqFwU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=qMnsJQmBh3c:PDaRoACqFwU:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/02/openvpn-mini-guides-certificates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>News: HOWTO</title>
		<link>http://daffy.za.net/2010/02/news-howto/</link>
		<comments>http://daffy.za.net/2010/02/news-howto/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 11:33:51 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=446</guid>
		<description><![CDATA[BBC, Sky, RTE. They all seem to have the same News story format. So, here&#8217;s the template that they all use. (Caution, contains a few naughty words)]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F02%2Fnews-howto%2F&amp;via=daffy_duc&amp;text=News%3A+HOWTO&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>BBC, Sky, RTE. They all seem to have the same News story format.</p>
<p>So, here&#8217;s the template that they all use. (Caution, contains a few naughty words)</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/YtGSXMuWMR4&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/YtGSXMuWMR4&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=-6iFNjlBZXU:facYeckWp-Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=-6iFNjlBZXU:facYeckWp-Q:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=-6iFNjlBZXU:facYeckWp-Q:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=-6iFNjlBZXU:facYeckWp-Q:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=-6iFNjlBZXU:facYeckWp-Q:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/02/news-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Please, be good</title>
		<link>http://daffy.za.net/2010/01/please-be-good/</link>
		<comments>http://daffy.za.net/2010/01/please-be-good/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 11:36:59 +0000</pubDate>
		<dc:creator>daffy</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[a-team]]></category>
		<category><![CDATA[movies]]></category>

		<guid isPermaLink="false">http://daffy.za.net/?p=443</guid>
		<description><![CDATA[Please Mr Movie making Man. Don&#8217;t destroy the memories of my childhood. Please be a good movie.]]></description>
			<content:encoded><![CDATA[<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fdaffy.za.net%2F2010%2F01%2Fplease-be-good%2F&amp;via=daffy_duc&amp;text=Please%2C+be+good&amp;lang=en&amp;count=horizontal"  class="twitter-share-button">Tweet</a></div><p>Please Mr Movie making Man. Don&#8217;t destroy the memories of my childhood. Please be a good movie.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/z93AADd2Dpo&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/z93AADd2Dpo&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=jw79LUVYg8k:COH5Yl91mys:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=jw79LUVYg8k:COH5Yl91mys:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=jw79LUVYg8k:COH5Yl91mys:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/TooFarNorth?a=jw79LUVYg8k:COH5Yl91mys:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/TooFarNorth?i=jw79LUVYg8k:COH5Yl91mys:V_sGLiPBpWU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://daffy.za.net/2010/01/please-be-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
