<?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>Amateur Topologist &#187; tsocks</title>
	<atom:link href="http://www.amateurtopologist.com/tag/tsocks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amateurtopologist.com</link>
	<description>Politics, programming, math, and science.</description>
	<lastBuildDate>Fri, 03 Sep 2010 16:43:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>tsocks: Make any application SOCKS-compatible</title>
		<link>http://www.amateurtopologist.com/2009/05/18/tsocks-make-any-application-socks-compatible/</link>
		<comments>http://www.amateurtopologist.com/2009/05/18/tsocks-make-any-application-socks-compatible/#comments</comments>
		<pubDate>Mon, 18 May 2009 18:00:43 +0000</pubDate>
		<dc:creator>Patrick Hurst</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tsocks]]></category>
		<category><![CDATA[useful programs]]></category>

		<guid isPermaLink="false">http://amateurtopologist.com/?p=60</guid>
		<description><![CDATA[Most applications that require Internet access have at least some form of SOCKS compatibility to allow the usage of proxies, but not all of them do. That&#8217;s where tsocks comes in; it overrides certain internal functions of the programs you tell it to load and redirects them through its own versions, which are SOCKS-aware and [...]]]></description>
			<content:encoded><![CDATA[<p>Most applications that require Internet access have at least some form of SOCKS compatibility to allow the usage of proxies, but not all of them do. That&#8217;s where <a href="http://tsocks.sourceforge.net/">tsocks</a> comes in; it overrides certain internal functions of the programs you tell it to load and redirects them through its own versions, which are SOCKS-aware and hence can be used through ssh tunnels, etc. tsocks is dead simple to set up and install; Ubuntu users can just grab it from repositories, or get the raw source files <a href="http://tsocks.sourceforge.net/download.php">here</a>. Then create a file named /etc/tsocks.conf by running</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">gksu gedit /etc/tsocks.conf</div></div>
<p>and adding a line</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">server = myserver.com</div></div>
<p>; that&#8217;s it! If your SOCKS server runs on a non-standard port, or requires a username and password, add lines assigning to server_port, default_user, or default_pass respectively.</p>
<p>Using tsocks is easy; if you want to run a single command using tsocks, just add tsocks to the beginning, like</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tsocks pidgin</div></div>
<p>. To make all programs use tsocks until further notice, just run</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tsocks</div></div>
<p>with no arguments; it&#8217;ll create a shell within your shell. To exit back out and stop using tsocks, just type</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">exit</div></div>
<p>to exit the subshell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.amateurtopologist.com/2009/05/18/tsocks-make-any-application-socks-compatible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
