<?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>Operations System Administration Network &#187; book:isbn=0596008953</title>
	<atom:link href="http://www.opssa.net/tag/bookisbn0596008953/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.opssa.net</link>
	<description>OpsSA.net - SA wisdom and philosophy</description>
	<lastBuildDate>Sat, 02 Jan 2010 05:46:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Test Your Website Remotely</title>
		<link>http://www.opssa.net/2009/01/how-to-test-your-website-remotely/</link>
		<comments>http://www.opssa.net/2009/01/how-to-test-your-website-remotely/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 04:12:47 +0000</pubDate>
		<dc:creator>Jim Sheafer</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[book:isbn=0596008953]]></category>
		<category><![CDATA[book:isbn=0975841963]]></category>
		<category><![CDATA[SOCKS]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.sheafer.org/OpsSA/?p=158</guid>
		<description><![CDATA[It is always difficult to see things from your customer&#8217;s point of view &#8211; literally and figuratively. So after spending hours and hours on your newest web product, how do you see it through your customer&#8217;s eyes? How do you know that it is working from outside your company&#8217;s protected network? I figured out a [...]]]></description>
			<content:encoded><![CDATA[<p>It is always difficult to see things from your customer&#8217;s point of view &#8211; literally and figuratively. So after spending hours and hours on your newest web product, how do you see it through your customer&#8217;s eyes? How do you know that it is working from outside your company&#8217;s protected network? I figured out a great technique, and it&#8217;s dead easy to setup.</p>
<h4>The Encrypted Network Tunnel</h4>
<p>While researching ways of securing a connection between two networks (VPNs, SSH, etc) I kept <a href="http://lifehacker.com/software/ssh/geek-to-live--encrypt-your-web-browsing-session-with-an-ssh-socks-proxy-237227.php">finding</a> <a href="http://ubuntu.wordpress.com/2006/12/08/ssh-tunnel-socks-proxy-forwarding-secure-browsing/">pages</a> that detailed setting up an SSH tunnel to bypass your company&#8217;s web browsing policy. And while I don&#8217;t condone that activity, there are those of us who&#8217;s job it is to prevent it from happening, so best to know how to do it. And there are <em>legitimate</em> reasons to use it. Creating a tunnel changes your origination point &#8211; create a tunnel to a machine in a far off land, and your web server will see the far off land as the origination of the request. So, it&#8217;s great for testing!</p>
<h4>Three Easy Steps</h4>
<p>So, let&#8217;s setup a tunnel! <em>MAKE SURE YOU ARE ALLOWED TO DO SO</em> then follow these simple steps:</p>
<ol>
<li><strong>Create an SSH Tunnel</strong> &#8211; Open an ssh connection to a host you are able to login to and specify a port to listen on for a SOCKS tunnel.<br />
<blockquote><p>ssh -D <em>port hostname</em></p></blockquote>
</li>
<li><strong>Use Your Tunnel as a SOCKS Proxy</strong> &#8211; Configure your browser to use your local machine (on the same port) as a SOCKS proxy.<br />
<blockquote><p>Socks Proxy: localhost Socks Port: port from above</p></blockquote>
</li>
<li><strong>There is no step 3</strong> &#8211; Because a SOCKS proxy is built into SSH, nothing else is needed!</li>
</ol>
<h4>If you can SSH to it, then you can proxy through it</h4>
<p>That&#8217;s all there is to it. You can now use your local browser as if it was running on the remote machine. Any machine you can SSH to is now part of your test bed. Just to prove how simple it is, I have tested this setup using the rather stripped down environment in my wireless router as the server. It worked perfectly. This setup is equally simple on a Mac (although upgrading to the latest OpenSSH is a good idea) and Windows machines (using PuTTY as your SSH client). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.opssa.net/2009/01/how-to-test-your-website-remotely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.379 seconds -->

