<?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>Racker Hacker &#187; proxy</title>
	<atom:link href="http://rackerhacker.com/tag/proxy/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:07:41 +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>Simple SOCKS proxy using SSH</title>
		<link>http://rackerhacker.com/2009/05/26/simple-socks-proxy-using-ssh/</link>
		<comments>http://rackerhacker.com/2009/05/26/simple-socks-proxy-using-ssh/#comments</comments>
		<pubDate>Tue, 26 May 2009 19:29:55 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=880</guid>
		<description><![CDATA[Sometimes we find ourselves in places where we don't trust the network that we're using. I've found myself in quite a few situations where I know my data is being encrypted, but I want an additional layer of protection. Luckily, that protection is built into SSH if you'd like to use it. Create a simple [...]<p><a href="http://rackerhacker.com/2009/05/26/simple-socks-proxy-using-ssh/">Simple SOCKS proxy using SSH</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>Sometimes we find ourselves in places where we don't trust the network that we're using.  I've found myself in quite a few situations where I know my data is being encrypted, but I want an additional layer of protection.  Luckily, that protection is built into SSH if you'd like to use it.</p>
<p>Create a simple SOCKS proxy with SSH by using the <code>-D</code> flag:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">ssh -D 2400 username@some.host.com</pre></div></div>

<p>That command will open up a SOCKS proxy on your workstation on port 2400.  If you configure your application to use the local SOCKS proxy, any traffic using the proxy will be sent through an encrypted SSH connection to your remote server and out to the internet. Inbound traffic through the proxy is encrypted through the same connection.</p>
<p>You can pair that with autossh to keep your proxy connected at all times:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">autossh -f -M 20000 -D 2400 username@some.host.com -N</pre></div></div>

<p><a href="http://rackerhacker.com/2009/05/26/simple-socks-proxy-using-ssh/">Simple SOCKS proxy using SSH</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2009/05/26/simple-socks-proxy-using-ssh/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

