<?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>Jonathan&#039;s blog &#187; Networking</title>
	<atom:link href="http://blog.jonathangazeley.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jonathangazeley.com</link>
	<description>A journal of Linux, gadgets, and their incompatibility. And other stuff.</description>
	<lastBuildDate>Sun, 05 Feb 2012 22:34:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Misleading statistics</title>
		<link>http://blog.jonathangazeley.com/2010/12/misleading-statistics/</link>
		<comments>http://blog.jonathangazeley.com/2010/12/misleading-statistics/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 14:15:55 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[gigabit]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[megabit]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=1088</guid>
		<description><![CDATA[Today, the BBC published a story about the future of broadband, and specifically, 1 gigabit internet. This isn&#8217;t actually so futuristic. It&#8217;s not a home connection, but my PC at work has a 1 Gbit internet connection, via the JANET network. It&#8217;s had it for a couple of years. When it actually comes down to [...]]]></description>
			<content:encoded><![CDATA[<p>Today, the BBC published a story about <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL25ld3MuYmJjLmNvLnVrLzEvaGkvcHJvZ3JhbW1lcy9jbGlja19vbmxpbmUvOTA5Mzk5MS5zdG0=">the future of broadband</a>, and specifically, 1 <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9HaWdhYml0X3Blcl9zZWNvbmQjR2lnYWJpdF9wZXJfc2Vjb25k">gigabit</a> internet.</p>
<p>This isn&#8217;t actually so futuristic. It&#8217;s not a home connection, but my PC at work has a 1 Gbit internet connection, via the <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5qYS5uZXQv">JANET</a> network. It&#8217;s had it for a couple of years. When it actually comes down to real-life usage, it isn&#8217;t much faster than 100 Mbit or even 10 Mbit. While the data transfer itself does indeed go a lot faster, a lot of time is spent setting up each connection.</p>
<p>Connecting to a server in America from my desk here in the UK takes about 170ms for the signal to get there and back. It will take a few back-and-forths before your file transfer begins. The BBC published a table with some typical values in it.</p>
<table border="1" align="center">
<tbody>
<tr>
<th colspan="3">How quick is a 1GB connection?</th>
</tr>
<tr>
<th></th>
<th>1 Gbit</th>
<th>2 Mbit</th>
</tr>
<tr>
<td>Download Tolstoy&#8217;s War and Peace</td>
<td>0.002 secs</td>
<td>1 sec</td>
</tr>
<tr>
<td>Download a 45-minute album</td>
<td>0.05 secs</td>
<td>26 secs</td>
</tr>
<tr>
<td>Download a 90-minute HD film</td>
<td>3 mins 36 secs</td>
<td>30 hrs</td>
</tr>
<tr>
<td>Watch 1-minute of Super HD</td>
<td>6 mins 40 secs</td>
<td>200 hrs</td>
</tr>
</tbody>
</table>
<p>If, after reading that, you are expecting to use your 1 Gbit connection to download <em>War and Peace</em> in just 2 milliseconds, you can think again. There are several steps your computer has to do to initiate the connection. Each one is subject to the latency, and will probably take a few hundred milliseconds. That&#8217;s hundreds of times longer than it actually takes to transfer the data. Obviously the larger the file, the less significant this is. Wasting one second out of nearly 7 minutes for the Super HD video isn&#8217;t so bad.</p>
<p>For those who think that latency will improve with speed, think again. There may be some technological advances that shave off the odd millisecond here and there, but unfortunately there&#8217;s a pesky thing called <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9TcGVlZF9vZl9saWdodA==">the speed of light</a>. The speed of electricity or light in a cable maxes out at 186,000 miles per second, and will usually be about two-thirds of that value, depending on the cable. It will take light 134 milliseconds to go round the equator once. Give or take, that&#8217;s how far it is from the UK to Australia and back, and in that time, according to the BBC, you could have downloaded <em>War and Peace</em> 67 times.</p>
<p>As of today, while my computer can send and receive data from the internet at 1 gigabit, unfortunately its hard disk is much slower. Downloading large files tops out at around 350 megabits because the hard disk just can&#8217;t handle it. Of course, better and faster hard disks will be invented in the future so this is a non-issue in the long term.</p>
<p>All I&#8217;m saying is &#8211; don&#8217;t believe everything you read in the news, and be aware that for most applications, 1 Gbit is <strong>not</strong> ten times faster than 100 Mbit.</p>
<p>That is all <img src='http://blog.jonathangazeley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1088" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2010/12/misleading-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A strange suggestion</title>
		<link>http://blog.jonathangazeley.com/2010/10/a-strange-suggestion/</link>
		<comments>http://blog.jonathangazeley.com/2010/10/a-strange-suggestion/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 20:22:00 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[gambling]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=1058</guid>
		<description><![CDATA[I happened to be looking at the website of a company that offers virtual private servers earlier today. This particular company has a box on their front page with a few questions about what you need your server to do, and it recommends you a suitable server package. But I was slightly surprised at the [...]]]></description>
			<content:encoded><![CDATA[<p>I happened to be looking at the website of a company that offers <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9WaXJ0dWFsX3ByaXZhdGVfc2VydmVy">virtual private servers</a> earlier today. This particular company has a box on their front page with a few questions about what you need your server to do, and it recommends you a suitable server package. But I was slightly surprised at the second-to-last option:</p>
<div id="attachment_1060" class="wp-caption aligncenter" style="width: 320px"><a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cuam9uYXRoYW5nYXplbGV5LmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxMC8xMC90YWdhZGFiLmNvbV8xLnBuZw=="><img class="size-full wp-image-1060" title="Server sorter" src="http://blog.jonathangazeley.com/wp-content/uploads/2010/10/tagadab.com_1.png" alt="" width="310" height="318" /></a><p class="wp-caption-text">Server sorter</p></div>
<p>All the other options are sensible, but <strong>automated online gambling</strong>? I had no idea that there was a legitimate market for such a thing, let alone that a company would risk its reputation by offering a a controversial, although legal service.</p>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1058" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2010/10/a-strange-suggestion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jonathan&#8217;s Blog now on new &#8220;hardware&#8221;</title>
		<link>http://blog.jonathangazeley.com/2010/09/jonathans-blog-now-on-new-hardware/</link>
		<comments>http://blog.jonathangazeley.com/2010/09/jonathans-blog-now-on-new-hardware/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 22:14:22 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=983</guid>
		<description><![CDATA[This blog, and my other blogs, used to run on a rather old server: two 1GHz Pentium III processors, 1GB memory and 2 x 18GB SCSI hard drives. I host with Ridgeon Network, which is owned by my friend Chris. I help him out with some networking stuff from time to time so he loaned [...]]]></description>
			<content:encoded><![CDATA[<p>This blog, and my other blogs, used to run on a rather old server: two 1GHz Pentium III processors, 1GB memory and 2 x 18GB SCSI hard drives. I host with <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5yaWRnZW9uLW5ldHdvcmsuY28udWsv">Ridgeon Network</a>,  which is owned by my friend Chris. I help him out with some networking  stuff from time to time so he loaned me this spare server for personal  use.</p>
<p>A few weeks back one of the hard drives failed. Service continued as normal but it was an acute reminder that the server was getting old.</p>
<p>Recently Chris bought a powerful server for use as a <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy52bXdhcmUuY29tL3Byb2R1Y3RzL3ZzcGhlcmUtaHlwZXJ2aXNvci9pbmRleC5odG1s">VMWare ESXi</a> hypervisor, along with a large iSCSI <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9TdG9yYWdlX2FyZWFfbmV0d29yaw==">SAN</a> to host all the disk images, and powerful shared <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5teXNxbC5jb20v">MySQL</a> database server. As he was moving lots of his servers from physical boxes to virtual machines, I decided to do likewise.</p>
<p>So this website, and my other sites, are now hosted on a <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jZW50b3Mub3JnLw==">CentOS</a> virtual machine, with their databases on a separate CentOS database server. Given that the load average on the old P3 wasn&#8217;t very high I wasn&#8217;t expecting a noticeable improvement in performance. But how wrong I was! The site is noticeably faster to load and navigate, and in particular the WordPress management interface is miles faster.</p>
<p>All in all, I&#8217;m happy with the new platform. To anyone else considering replacing old servers with a virtualised infrastructure, I say go for it. You&#8217;ll save tons of electricity, take up less rack space, pave the way for later expansion (by adding more hypervisors or more disks to the SAN) and have better manageability and backupabilitiy.</p>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=983" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2010/09/jonathans-blog-now-on-new-hardware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Building an email server using ClearOS</title>
		<link>http://blog.jonathangazeley.com/2010/08/building-an-email-server-using-clearos/</link>
		<comments>http://blog.jonathangazeley.com/2010/08/building-an-email-server-using-clearos/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 22:21:33 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[amavis]]></category>
		<category><![CDATA[ClearOS]]></category>
		<category><![CDATA[cyrus]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[horde]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=977</guid>
		<description><![CDATA[I&#8217;ve had a server at home for years now, and I&#8217;ve also been a professional sysadmin for at least three years. I know my way around Linux pretty well and for some time I&#8217;ve run my own web server and also other services. But one thing I&#8217;ve steered clear of until now is running my [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a server at home for years now, and I&#8217;ve also been a professional sysadmin for at least three years. I know my way around Linux pretty well and for some time I&#8217;ve run my own web server and also other services.</p>
<p>But one thing I&#8217;ve steered clear of until now is running my own email server.</p>
<p>I&#8217;ve always thought it would be fairly easy to set up, but much harder to make secure. I don&#8217;t want to receive tonnes of spam and I don&#8217;t want spammers using my SMTP server as an open relay. In the past I&#8217;ve read about building SMTP servers with <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZW5kbWFpbC5vcmcv">sendmail</a>, <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5wb3N0Zml4Lm9yZy8=">postfix</a> and <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5leGltLm9yZy8=">exim</a> but there was all sorts of conflicting information when it came to integrating <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9NaWx0ZXI=">milters</a> and so on. Different guides all seemed to give contradictory advice and require all sorts of strange configuration steps that I couldn&#8217;t understand.</p>
<p>But all that changed when I heard about <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jbGVhcmZvdW5kYXRpb24uY29tL1NvZnR3YXJlL292ZXJ2aWV3Lmh0bWw=">ClearOS</a>. In short, it&#8217;s a spin of <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jZW50b3Mub3JnLw==">CentOS</a> which uses a custom web interface to configure various software &#8220;modules&#8221;, including things like web server, email server, firewall gateway, database server, and so on.</p>
<p>I installed it on a virtual machine and after only a few clicks I was running a mail server: an <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9NWF9yZWNvcmQ=">MX</a> for receiving mail for my domains, an authenticated SMTP server for personal outgoing mail, and a secure IMAP server for storing and accessing my mail. The frontend sets up postfix and <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2N5cnVzaW1hcC53ZWIuY211LmVkdS8=">cyrus</a> to do its dirty work.</p>
<p>For ultimate ease, users (just me, in this case) are authenticated using a local LDAP directory, rather than by using system accounts. All SSL certificates for IMAPS and HTTPS were added automatically. Email antivirus scanning is done by <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hbWF2aXMub3JnLw==">Amavis</a> and spam filtering is done by <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3NwYW1hc3Nhc3Npbi5hcGFjaGUub3JnLw==">Spamassassin</a>.</p>
<p>I had a little bit of trouble setting up <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5ob3JkZS5vcmcv">Horde</a> to access webmail and a web interface for configuring <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9TaWV2ZV8lMjhtYWlsX2ZpbHRlcmluZ19sYW5ndWFnZSUyOQ==">sieve rules</a>. By &#8220;trouble&#8221; I mean the default Apache virtual host declarations needed some changing around and some aliases adding. If you&#8217;re familiar with Apache this won&#8217;t be a problem.</p>
<p>There are some aspects of ClearOS I don&#8217;t like so much, and I would prefer to use CentOS. But now ClearOS has written out all my configs it should be trivial to move my new mail setup to a plain old CentOS installation, where I already run my websites from. I have definitely learnt a lot about how email works by simply reading and understanding the config files written by the frontend.</p>
<p>So if you want to build an email server but don&#8217;t know where to start &#8211; try ClearOS. It&#8217;s a great introduction to the &#8220;scary&#8221; parts of setting up an email server, like milters and certificates.</p>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=977" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2010/08/building-an-email-server-using-clearos/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Newbie&#8217;s guide for Linux Apache web servers</title>
		<link>http://blog.jonathangazeley.com/2010/06/newbies-guide-for-linux-apache-web-servers/</link>
		<comments>http://blog.jonathangazeley.com/2010/06/newbies-guide-for-linux-apache-web-servers/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 20:59:14 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=871</guid>
		<description><![CDATA[Today a friend (from a Windows background &#8211; still a friend?! ) asked me how to go about setting up a LAMP (Linux, Apache, MySQL &#38; PHP) server. I wrote him a few notes, not only on how to configure the LAMP stack, but also on how to configure a Linux system properly from scratch, [...]]]></description>
			<content:encoded><![CDATA[<p>Today a friend (from a Windows background &#8211; still a friend?! <img src='http://blog.jonathangazeley.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) asked me how to go about setting up a <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9MQU1QXyUyOHNvZnR3YXJlX2J1bmRsZSUyOQ==">LAMP</a> (<strong>L</strong>inux, <strong>A</strong>pache, <strong>M</strong>ySQL &amp; <strong>P</strong>HP) server. I wrote him a few notes, not only on how to configure the LAMP stack, but also on how to configure a Linux system properly from scratch, and how to do so securely. There are <em>millions</em> of guides out there that explain how to serve web pages with Apache, but not many of them explain the basics of setting up a secure system too.</p>
<p>I&#8217;ve edited these notes slightly to make them suitable for a wider audience, but in essence it&#8217;s the same stuff. Hope it&#8217;s useful!</p>
<h2>OS installation</h2>
<p>I recommend using <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jZW50b3Mub3JnLw==">CentOS</a>. It doesn&#8217;t really matter whether you choose 32-bit (<code>i386</code>) or 64-bit (<code>x86_64</code>) but use ideally use 64-bit unless there&#8217;s a reason not to.</p>
<p>Boot from the CD or DVD of your choice. It doesn&#8217;t matter whether you use the full DVD, or the network install CD.</p>
<p>Choose the text-based installer from the boot prompt by typing <code>linux text</code>. The text installer doesn&#8217;t install as much extra rubbish as the <acronym title="Graphical User Interface">GUI</acronym> installer.</p>
<p>In most cases the default options are good enough. One option you should change is to use an <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9OZXR3b3JrX1RpbWVfUHJvdG9jb2w=">NTP</a> time server. This is especially important with virtual machines, since they suffer badly from clock drift.</p>
<p>Choose a strong root password. You will only need it once again. After that, you won&#8217;t even even need it for logging on, so there is no need to pick anything memorable. In fact, you are best off choosing a long, random string of mixed-case letters and numbers.</p>
<p>When it comes to choosing packages, deselect as many of the groups as possible. We will add the packages we need individually later on.</p>
<p>Let the installer run its course, and reboot.</p>
<h2>Users and passwords</h2>
<p>Upon first boot, log in as root using the password you picked before. Now create new user accounts and set passwords:</p>
<pre>useradd yourusername
passwd yourusername</pre>
<p>Now for setting <code>sudo</code> access. This is like “run as admin” on Windows. Type <code>visudo</code>. In the text file that opens, read down to the line that says</p>
<pre>root    ALL=(ALL)       ALL</pre>
<p>Duplicate it twice by pressing <code>yyp</code>. Go into insert mode by pressing <code>i</code> and change the username <code>root</code> to your username. When you are done, hit Esc and type <code>:wq</code> to save and exit. Gotta love <code>vi</code> commands <img src='http://blog.jonathangazeley.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>To disable remote root login via ssh, edit the file <code>/etc/ssh/sshd_config</code> using your favourite editor. If you don&#8217;t already have a favourite editor, use <code>vi</code>.</p>
<p>Find the line:</p>
<pre>#PermitRootLogin yes</pre>
<p>and uncomment it and change the value to no:</p>
<pre>PermitRootLogin no</pre>
<p>Restart the ssh daemon by doing</p>
<pre>sudo /sbin/service sshd restart</pre>
<p>From now on you can gain root access by using the <code>sudo</code> command, and you won&#8217;t need to log in as root again. Log out now by typing <code>exit</code> and re-login as your own user. Forget the root password forever.</p>
<h2>Installing packages</h2>
<p>First we add a couple of third-party software repositories that have useful stuff.</p>
<blockquote><p><code>sudo rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm</code></p></blockquote>
<p>Let&#8217;s get rid of the stuff we don&#8217;t want or need. There are no doubt more than things that can be removed than I&#8217;ve listed here, but they can be removed later.</p>
<pre>sudo yum remove bluez* pcsc*</pre>
<p>Update the system so you&#8217;re sure that that latest versions of all software are installed.</p>
<pre>sudo yum update</pre>
<p>Now we can install the stuff we want for LAMP!</p>
<pre>sudo yum install httpd mysql-server php php-mysql</pre>
<p>If you are wanting to use any <acronym title="Hypertext Preprocessor">PHP</acronym> modules/libraries they can be installed here too, such as the commonly-used graphics library <code>gd</code>.</p>
<h2>Services</h2>
<p>Let&#8217;s start the two daemons for Apache and MySQL, and tell them to start on boot.</p>
<pre>sudo /sbin/service httpd start
sudo /sbin/service mysqld start
sudo /sbin/chkconfig httpd on
sudo /sbin/chkconfig mysqld on</pre>
<p>Apache in its default state will run out of the box. MySQL just needs a root password setting.</p>
<pre>mysqladmin -u root password NEWPASSWORD</pre>
<p>From now on it&#8217;s advisable to <code>GRANT</code> access to specific users on specific databases/tables. Go read about <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Rldi5teXNxbC5jb20vZG9jL3JlZm1hbi81LjEvZW4vYWRkaW5nLXVzZXJzLmh0bWw=">MySQL users</a>.</p>
<h2>Firewall</h2>
<p>Let&#8217;s assume you want <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> on port 80 open to the world. Open <code>/etc/sysconfig/iptables</code> for editing, and add this line.</p>
<pre>-A RH-INPUT -p tcp -m tcp --dport 80 -j ACCEPT</pre>
<p>Save and close, and run this to make the changes live.</p>
<pre>sudo /sbin/service iptables restart</pre>
<h2>Editing configs</h2>
<p>The main config file for Apache is at <code>/etc/httpd/conf/httpd.conf</code>. It doesn&#8217;t need any changes for basic operation, but if you edit it you need to restart the httpd service to pick up the changes.</p>
<p>If you get serious with web publishing from a LAMP platform, you will probably want to read about <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h0dHBkLmFwYWNoZS5vcmcvZG9jcy8yLjIvdmhvc3RzLw==">name-based virtual hosts</a>.</p>
<h2>Adding content</h2>
<p>In its basic configuration, you should add PHP scripts, HTML pages and other content like images and stylesheets to <code>/var/www/html/</code>. You do not need to restart the daemon for it to pick up new content.</p>
<p>When debugging pages, you will probably find it handy to refer to the error log, at <code>/var/log/httpd/error_log</code>.</p>
<p><strong>Tip:</strong> Open two SSH windows to the server &#8211; one for editing stuff, and the other for watching the log scroll by as events occur. Use Ctrl-C to break out of it. Do this:</p>
<pre>sudo tail -f /var/log/httpd/error_log</pre>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=871" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2010/06/newbies-guide-for-linux-apache-web-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New worst cabinet ever</title>
		<link>http://blog.jonathangazeley.com/2009/11/new-worst-cabinet-ever/</link>
		<comments>http://blog.jonathangazeley.com/2009/11/new-worst-cabinet-ever/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 22:36:14 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[cabinet]]></category>
		<category><![CDATA[injector]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=554</guid>
		<description><![CDATA[A while back I wrote about the worst cabinet ever. Maybe this one isn&#8217;t as spectacular to behold, but there is a Cisco switch under all that spaghetti. There are also two PoE power injectors for wireless access points. All this is in a wooden cupboard and it was roasting hot. You can see that [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote about the <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cuam9uYXRoYW5nYXplbGV5LmNvbS8yMDA5LzA3L3RoZS13b3JzdC1jYWJpbmV0LWV2ZXIv">worst cabinet ever</a>.</p>
<p>Maybe this one isn&#8217;t as spectacular to behold, but there is a Cisco switch under all that spaghetti. There are also two PoE power injectors for wireless access points. All this is in a wooden cupboard and it was roasting hot.</p>
<p>You can see that they also haven&#8217;t bothered to install a patch board &#8211; instead there are just wall sockets covering the side, and a few lying around not attached to anything.</p>
<p>At the back, there&#8217;s a telephone patch panel too.</p>
<div id="attachment_555" class="wp-caption aligncenter" style="width: 410px"><a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cuam9uYXRoYW5nYXplbGV5LmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMS9EU0MwMDI4Ni5KUEc="><img class="size-medium wp-image-555" title="New worst cabinet ever" src="http://blog.jonathangazeley.com/wp-content/uploads/2009/11/DSC00286-400x300.jpg" alt="New worst cabinet ever" width="400" height="300" /></a><p class="wp-caption-text">New worst cabinet ever</p></div>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=554" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2009/11/new-worst-cabinet-ever/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Home of the Internet</title>
		<link>http://blog.jonathangazeley.com/2009/10/home-of-the-internet/</link>
		<comments>http://blog.jonathangazeley.com/2009/10/home-of-the-internet/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 09:56:32 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Sicily]]></category>
		<category><![CDATA[Taormina]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=540</guid>
		<description><![CDATA[While in Sicily last year, I found out where the Internet actually is. It&#8217;s halfway up a mountain in Taormina.]]></description>
			<content:encoded><![CDATA[<p>While in Sicily last year, I found out where the Internet actually is. It&#8217;s halfway up a mountain in Taormina.</p>
<div id="attachment_541" class="wp-caption aligncenter" style="width: 410px"><a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cuam9uYXRoYW5nYXplbGV5LmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMC9kc2NmMzExNy5yZXNpemVkLmpwZw=="><img class="size-medium wp-image-541" title="The Internet" src="http://blog.jonathangazeley.com/wp-content/uploads/2009/10/dscf3117.resized-400x300.jpg" alt="The Internet" width="400" height="300" /></a><p class="wp-caption-text">The Internet</p></div>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=540" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2009/10/home-of-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Escaping usernames during RADIUS accounting</title>
		<link>http://blog.jonathangazeley.com/2009/10/escaping-usernames-during-radius-accounting/</link>
		<comments>http://blog.jonathangazeley.com/2009/10/escaping-usernames-during-radius-accounting/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 12:02:39 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[accounting]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[escape]]></category>
		<category><![CDATA[FreeRADIUS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[RADIUS]]></category>
		<category><![CDATA[sanitise]]></category>
		<category><![CDATA[strip]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=431</guid>
		<description><![CDATA[Today I encountered a problem in my FreeRADIUS setup. Usernames can be sent to my RADIUS servers as a simple username (e.g. jonathan) or with a realm prepended (e.g. DOMAIN\jonathan). When a username with a realm gets sent to a RADIUS authentication server that is doing MSCHAP, the domain is automatically stripped and you never [...]]]></description>
			<content:encoded><![CDATA[<p>Today I encountered a problem in my FreeRADIUS setup. Usernames can be sent to my RADIUS servers as a simple username (e.g. <code>jonathan</code>) or with a realm prepended (e.g. <code>DOMAIN\jonathan</code>).</p>
<p>When a username with a realm gets sent to a RADIUS <strong>authentication</strong> server that is doing MSCHAP, the domain is automatically stripped and you never notice. But when it gets sent to an <strong>accounting</strong> server (clearly no MSCHAP) there is no stripping or escaping done automatically.</p>
<p>This caught me out.</p>
<p>Users were authenticating on my network successfully. <code>DOMAIN\rachel</code> and <code>DOMAIN\thomas</code> were happily authenticated against the domain controllers and gained access to the wireless. But when they started sending accounting packets, the <code>\r</code> and <code>\t</code> portions of their usernames were sent to the database unquoted, where they were interpreted as a Unix newline and a tabspace respectively.</p>
<p><strong>Eeek!</strong></p>
<p>I didn&#8217;t notice until I saw that MySQL had converted these <code>\r</code> and <code>\t</code> characters to the hex equivalents. Where my accounting table should have contained <code>rachel</code>, it actually contained <code>DOMAIN=0Dachel</code>.</p>
<p><strong>Yikes!</strong></p>
<p>I fixed this by creating a local proxy realm. At the end of my <code>proxy.conf</code>, I added these lines:</p>
<pre>realm DOMAIN {
}</pre>
<p>Obviously substituting <code>DOMAIN</code> for the real name of my domain.</p>
<p>Then in the <code>preacct</code> section of my virtual server I added the module <code>ntdomain</code> to populate the variable <code>%{Stripped-User-Name}</code> with the domain part of the username that was originally in <code>%{User-Name}</code>.</p>
<p>Now, looking at the top of whichever dialup.conf suits your database architecture, make sure the following line is uncommented:</p>
<pre>sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}"</pre>
<p>&#8230;and that all other definitions of <code>sql_user_name</code> are commented.</p>
<p>Once you&#8217;ve done this, your accounting detail logs will contain username likes <code>DOMAIN\\username</code> (with an escaped backslash) and your database table will simply have <code>username</code>.</p>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=431" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2009/10/escaping-usernames-during-radius-accounting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: Promise SmartStor NS4300N NAS</title>
		<link>http://blog.jonathangazeley.com/2009/10/review-promise-smartstor-ns4300n-nas/</link>
		<comments>http://blog.jonathangazeley.com/2009/10/review-promise-smartstor-ns4300n-nas/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 08:34:18 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[Promise]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=325</guid>
		<description><![CDATA[I decided to buy a NAS and remove the disks from my home server. I didn&#8217;t want to spend too much money, since this was one of those non-essential projects. But equally, I didn&#8217;t want to spend too little and get something that would break and destroy all my data with it. Eventually I decided [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_330" class="wp-caption alignright" style="width: 160px"><a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cuam9uYXRoYW5nYXplbGV5LmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8wOS9zbnM0MzAwbjEuanBn"><img class="size-thumbnail wp-image-330 " title="Promise NS4300N" src="http://blog.jonathangazeley.com/wp-content/uploads/2009/09/sns4300n1-150x150.jpg" alt="NS4300N" width="150" height="150" /></a><p class="wp-caption-text">Promise NS4300N</p></div>
<p>I decided to buy a <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9OZXR3b3JrLWF0dGFjaGVkX3N0b3JhZ2U=">NAS</a> and remove the disks from my home server.</p>
<p>I didn&#8217;t want to spend too much money, since this was one of those non-essential projects. But equally, I didn&#8217;t want to spend too little and get something that would break and destroy all my data with it. Eventually I decided upon a Promise <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5wcm9taXNlLmNvbS9wcm9kdWN0L3Byb2R1Y3RfZGV0YWlsX2VuZy5hc3A/cHJvZHVjdF9pZD0xNzc=">SmartStor NS4300N</a>.</p>
<h2>Features</h2>
<p>It had all the features I wanted, including:</p>
<ul>
<li>SMB/CIFS for Windows clients</li>
<li>NFS for Linux clients</li>
<li>RAID5</li>
<li>Gigabit Ethernet with Jumbo Frames</li>
</ul>
<h2>First impressions</h2>
<p>So how did it shape up?</p>
<p>The <strong>build quality</strong> was relatively <strong>poor</strong>. It&#8217;s made from thin plastic and feels flimsy. The disk caddies are incredibly flimsy and flexible, and I felt nervous even handling them; but this didn&#8217;t matter because I planned to assemble it and leave it alone.</p>
<p>It <strong>wasn&#8217;t exactly quiet</strong> either. There is an 80mm fan for the disks and a 40mm fan for the internal PSU. The 80mm fan only spins when the disks are hot but it is very noisy when it does so. The 40mm fan is constant but not so loud. And of course there&#8217;s the sound of four hard disks, which varies depending on make and model. Overall, it&#8217;s probably quieter than a standard computer, but you wouldn&#8217;t want to sleep with it in your bedroom.</p>
<p>It&#8217;s not a problem for me because I&#8217;m putting it in the loft.</p>
<h2>Setting it up</h2>
<p>The initial setup wasn&#8217;t as straightforward as I thought it could (should?) have been, especially for beginners. But it wasn&#8217;t really much trouble to set up a RAID5 array with 4 x 500GB disks and format it, for a total of 1.4TB.</p>
<p>More confusing, perhaps, was the selection of different protocols and the layout for setting up users, shares and permissions.</p>
<p>I wanted to set up two shares, <code>public</code> and <code>private</code> and set <code>public</code> to be world-readable (for my media centre) and <code>private</code> to be accessible only by me. If you create these accounts on the NAS, it&#8217;s simple enough to tick the boxes and set the desired permissions on Windows (SMB/CIFS) shares.</p>
<p>But NFS was a different kettle of fish. No user-level permissions are available on the NAS for NFS, and the only control you get is a list of allowed IP addresses. By default the NAS says it allows <code>*.*.*.*</code> but I found that this didn&#8217;t let anyone in. Adding real IP addresses to the list worked.</p>
<p>However, I found that when you have data shared both as NFS and SMB/CIFS, the permissions go out of the window and are not respected at all. An unauthenticated guest user was able to read and delete files from my <code>private</code> share.</p>
<h2>Performance</h2>
<p>Performance was far worse than I had expected.</p>
<p>With the NAS mounted on my PC via NFS, it would only manage 4.8MB/s sustained write rate, and 13.5MB/s sustained read rate. That&#8217;s significantly worse than the sustained 30MB/s I used to get with the same disks in the server, as a Linux software RAID array. On top of that, writing at this speed tied up my computer&#8217;s quad-core CPU 100% with IOWait.</p>
<p>With the NAS mounted on the same PC via SMB, it was able to write sustained at 9.2MB/s.</p>
<p>This is really quite poor, given that the <strong>same set</strong> of disks when connected directly into the server with SATA could write at some 35MB/s.</p>
<p>It depends on your usage though &#8211; if you simply want to play music and videos from the NAS then 10MB/s is fine, even for high definition. However I use mine for large backups and I don&#8217;t want to wait almost ten times longer for the backups to complete.</p>
<h2>Summary</h2>
<ul>
<li>If you already have a NAS or storage server that you are happy with, <strong>don&#8217;t buy this</strong>.</li>
<li>If you want to use NFS, <strong>don&#8217;t buy this</strong>.</li>
<li>If you care about high performance, <strong>don&#8217;t buy this</strong>.</li>
<li>If you want a reasonably-priced solution for backups or sharing media between computers, <strong>buy this</strong>. I reckon it would be fine to shove in a cupboard and simply drag your movies onto from your computer, so you could watch them on your media centre.</li>
</ul>
<p>However, it didn&#8217;t cut the mustard with me, so I sent it back. I&#8217;ve now returned to my original system with the four disks hosted in the server. It&#8217;s fast and the permissions work fine &#8211; the downside is that I have to keep a large, noisy ATX tower case and can&#8217;t switch to an Intel Atom solution <img src='http://blog.jonathangazeley.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=325" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2009/10/review-promise-smartstor-ns4300n-nas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH tunnelling to your home network</title>
		<link>http://blog.jonathangazeley.com/2009/09/ssh-tunnelling-to-your-home-network/</link>
		<comments>http://blog.jonathangazeley.com/2009/09/ssh-tunnelling-to-your-home-network/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 13:30:26 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[forward]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=397</guid>
		<description><![CDATA[SSH tunelling is no big secret, and there are loads of guides out there that explain how it is done in generic terms. This guide is slightly different, as it explains how to tunnel to hosts that are not publicly addressable. For example, if you have a Linux server as your home network gateway then [...]]]></description>
			<content:encoded><![CDATA[<p>SSH tunelling is no big secret, and there are loads of guides out there that explain how it is done in generic terms. This guide is slightly different, as it explains how to tunnel to hosts that are not publicly addressable.</p>
<p>For example, if you have a Linux server as your home network gateway then you can simply open ports on it, e.g. port 80 for a web server.</p>
<p>If you want to access a service on a computer on your network <strong>other than</strong> your server, you will have to set up port forwarding.</p>
<p>But there&#8217;s another way. Today while I was at work, I needed to change something on my home network printer&#8217;s web interface. The printer has a private IP address in the range <code>192.168.0.0/24</code> and there is no port forwarding set up (why would I want to share my printer&#8217;s control panel on the internet?).</p>
<p>Supposing my server is called <code>jonathangazeley.com</code> then I can enter a command like this from my work PC:</p>
<pre>ssh -f jonathan@jonathangazeley.com -L 2000:192.168.0.105:80 -N</pre>
<p>This command sets up port 2000 on <code>localhost</code> to point to port 80 on my printer at home.</p>
<p>Then I open my browser at work and navigate to <code>http://localhost:2000</code></p>
<p>Hey presto, I can now see my printer&#8217;s config page remotely. As a nice by-product, the connection is also encrypted by the <code>ssh</code> protocol.</p>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=397" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2009/09/ssh-tunnelling-to-your-home-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

