<?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>x83.net &#187; Ubuntu</title>
	<atom:link href="http://www.x83.net/category/linux/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 13:53:33 +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>Qmail SMTP Relay</title>
		<link>http://www.x83.net/qmail-smtp-relay/</link>
		<comments>http://www.x83.net/qmail-smtp-relay/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 12:05:00 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[relay]]></category>
		<category><![CDATA[relayclient]]></category>
		<category><![CDATA[tcp.smtp]]></category>
		<category><![CDATA[tcprules]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=791</guid>
		<description><![CDATA[If you have a Qmail server and you want to allow a specific IP to send emails (relay) through Qmail all you have to do is to add in /etc/tcprules.d/tcp.smtp : IP:allow,RELAYCLIENT=&#8221;",RBLSMTPD=&#8221;",NOP0FCHECK=&#8221;0&#8243;,DKSIGN=&#8221;/var/qmail/control/domainkeys/domain.com/dkim1&#8243; Where IP is the IP of your remote email server. You can even specify something like : aaa.bbb.ccc.:allow,RELAYCLIENT=&#8221;" After this you have to [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a Qmail server and you want to allow a specific IP to send emails (relay) through Qmail all you have to do is to add in <em>/etc/tcprules.d/tcp.smtp</em> :</p>
<p><strong>IP:allow,RELAYCLIENT=&#8221;",RBLSMTPD=&#8221;",NOP0FCHECK=&#8221;0&#8243;,DKSIGN=&#8221;/var/qmail/control/domainkeys/domain.com/dkim1&#8243;</strong></p>
<p>Where IP is the IP of your remote email server. You can even specify something like : <strong>aaa.bbb.ccc.:allow,RELAYCLIENT=&#8221;"</strong></p>
<p>After this you have to run :</p>
<p><strong>tcprules /etc/tcprules.d/tcp.smtp.cdb /etc/tcprules.d/tcp.smtp.tmp < /etc/tcprules.d/tcp.smtp</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/qmail-smtp-relay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx + php 5.2.17 + php-fpm</title>
		<link>http://www.x83.net/nginx-php-5-2-17-php-fpm/</link>
		<comments>http://www.x83.net/nginx-php-5-2-17-php-fpm/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 12:30:17 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[5.2.17]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-fpm]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=778</guid>
		<description><![CDATA[Download the needed packages and store them in /usr/src: http://us.php.net/distributions/php-5.2.17.tar.gz http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz http://nginx.org/download/nginx-1.1.0.tar.gz Then run : tar -xvzf php-5.2.17.tar.gz gzip -cd php-5.2.17-fpm-0.5.14.diff.gz &#124; sudo patch -d php-5.2.17 -p1 cd php-5.2.17 ./configure --enable-fastcgi --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --enable-pdo --with-curl --disable-debug --with-pic --disable-rpath --enable-inline-optimization --with-bz2 --enable-xml --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --with-xsl --enable-zip --with-pcre-regex --with-gd --without-pdo-sqlite [...]]]></description>
			<content:encoded><![CDATA[<p>Download the needed packages and store them in /usr/src:</p>
<p>http://us.php.net/distributions/php-5.2.17.tar.gz</p>
<p>http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz</p>
<p>http://nginx.org/download/nginx-1.1.0.tar.gz</p>
<p>Then run :</p>
<p><code>tar -xvzf php-5.2.17.tar.gz<br />
gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | sudo patch -d php-5.2.17 -p1<br />
cd php-5.2.17<br />
./configure --enable-fastcgi --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --enable-pdo --with-curl --disable-debug --with-pic --disable-rpath --enable-inline-optimization --with-bz2 --enable-xml --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --with-xsl --enable-zip --with-pcre-regex --with-gd --without-pdo-sqlite --with-pdo-mysql --without-sqlite --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-mysql --enable-bcmath --enable-calendar --enable-exif --enable-ftp  --with-gettext --with-imap --with-mysqli --with-openssl --with-kerberos --with-imap-ssl --enable-dbase --with-gmp --enable-shmop --enable-wddx</p>
<p>make all install</code></p>
<p>Note that you can add &#8211;<strong>prefix </strong> to install the binaries in a different location than the default one.</p>
<p>After compilation is done :</p>
<p><code>strip /usr/local/bin/php-cgi<br />
cp sapi/cgi/fpm/php-fpm /etc/init.d/<br />
chmod +x /etc/init.d/php-fpm</p>
<p>cp /usr/src/php-5.2.17/php.ini-recommended /usr/local/lib/php.ini<br />
mkdir /etc/php/<br />
ln -s /usr/local/lib/php.ini /etc/php/php.ini<br />
ln -s /usr/local/etc/php-fpm.conf /etc/php/php-fpm.conf<br />
</code></p>
<p>Make sure you edit <strong>/etc/php/php-fpm.conf</strong> and set the proper user/group (and permissions if its the case).</p>
<p>Then compile Nginx:</p>
<p><code>tar zxvf nginx-1.1.0.tar.gz<br />
./configure --sbin-path=/usr/local/sbin --with-http_ssl_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_stub_status_module<br />
make &#038;&#038; sudo make install<br />
</code></p>
<p>The same you can modify the <strong>&#8211;prefix</strong>  here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/nginx-php-5-2-17-php-fpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Puppet howto Ubuntu</title>
		<link>http://www.x83.net/puppet-howto-ubuntu/</link>
		<comments>http://www.x83.net/puppet-howto-ubuntu/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 18:27:53 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[puppet master]]></category>
		<category><![CDATA[repo]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=765</guid>
		<description><![CDATA[I&#8217;m using 2 Ubuntu Lucid 10.10 for this setup. On the server run: apt-get install puppetmaster At the time I&#8217;m writing this in the repos version 2.6.1 is available. On the client run : apt-get install puppet Note that /etc/hosts needs to contain the IP and host of both client and server, e.g: 10.0.0.30 depot.server.org [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using 2 Ubuntu Lucid 10.10 for this setup.</p>
<p>On the server run:</p>
<p><strong>apt-get install puppetmaster</strong></p>
<p>At the time I&#8217;m writing this in the repos version 2.6.1 is available.</p>
<p>On the client run :</p>
<p><strong>apt-get install puppet</strong></p>
<p>Note that /etc/hosts needs to contain the IP and host of both client and server, e.g:</p>
<p><code>10.0.0.30       depot.server.org   depot<br />
10.0.0.31       n1.server.org      n1<br />
</code></p>
<p>Create a default manifest file (/etc/puppet/manifests/site.pp) and put in it :</p>
<p><code><br />
class test_class {<br />
    file { "/tmp/test":<br />
       ensure => present,<br />
       mode   => 644,<br />
       owner  => root,<br />
       group  => root<br />
    }<br />
}</p>
<p># tell puppet on which client to run the class<br />
node n1 {<br />
    include test_class<br />
}<br />
</code></p>
<p>Then on the server run :</p>
<p><strong>/etc/init.d/puppetmaster start</strong></p>
<p>and on client :</p>
<p><strong>puppetd &#8211;server depot.server.org &#8211;waitforcert 60 &#8211;test</strong></p>
<p>After this you should see on the server a new host when running :</p>
<p><strong>puppetca &#8211;list</strong></p>
<p>In order to sign this host on the server side you need to run :</p>
<p><strong>puppetca &#8211;sign n1.server.org</strong></p>
<p>After this on the client side /tmp/test should be created.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/puppet-howto-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update ubuntu</title>
		<link>http://www.x83.net/update-ubuntu/</link>
		<comments>http://www.x83.net/update-ubuntu/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 18:02:04 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[do-release-upgrade]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=762</guid>
		<description><![CDATA[To upgrade from Lucid 10.10 to Natty Narwhal 11.04 you only have to run : do-release-upgrade -d]]></description>
			<content:encoded><![CDATA[<p>To upgrade from Lucid 10.10 to Natty Narwhal 11.04 you only have to run :</p>
<p><strong>do-release-upgrade -d</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/update-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authentication Token Manipulation Error</title>
		<link>http://www.x83.net/authentication-token-manipulation-error/</link>
		<comments>http://www.x83.net/authentication-token-manipulation-error/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 11:00:40 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[manipulation]]></category>
		<category><![CDATA[token]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=743</guid>
		<description><![CDATA[You may get an error, such as Authentication Token Manipulation Error, while trying to change passwords for a user. For example: #passwd user Authentication Token Manipulation Error # This error is being produced because you are using shadowed password files and the shadow doesn’t have entry for this user. i.e, passwd file has an entry [...]]]></description>
			<content:encoded><![CDATA[<p>You may get an error, such as Authentication Token Manipulation Error, while trying to change passwords for a user. For example:</p>
<p><strong>#passwd user</strong><br />
Authentication Token Manipulation Error<br />
#</p>
<p>This error is being produced because you are using shadowed password files and the shadow doesn’t have entry for this user. i.e, <strong>passwd </strong>file  has an entry for this user, but <strong>shadow </strong>file doesn’t.</p>
<p>In order to resolve this, you can either add the entry manually or recreate the shadow file. You can use pwconv to recreate the shadow file. See the manpage for more details on this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/authentication-token-manipulation-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable Status in apache</title>
		<link>http://www.x83.net/how-to-enable-status-in-apache/</link>
		<comments>http://www.x83.net/how-to-enable-status-in-apache/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 10:49:17 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[mod_status]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=738</guid>
		<description><![CDATA[Add this to your httpd.conf file: ExtendedStatus On &#60;Location /server-status&#62; SetHandler server-status Order Deny,Allow Deny from all Allow from 127.0.0.1 &#60;/Location&#62;]]></description>
			<content:encoded><![CDATA[<p>Add this to your <strong>httpd.conf</strong> file:</p>
<p>ExtendedStatus On</p>
<p>&lt;Location /server-status&gt;<br />
    SetHandler server-status<br />
    Order Deny,Allow<br />
    Deny from all<br />
    Allow from 127.0.0.1<br />
&lt;/Location&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/how-to-enable-status-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to clear SWAP</title>
		<link>http://www.x83.net/how-to-clear-swap/</link>
		<comments>http://www.x83.net/how-to-clear-swap/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 12:28:00 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[clear]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[swapoff]]></category>
		<category><![CDATA[swapon]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=736</guid>
		<description><![CDATA[It happens for swap to be used from time to time : root@servcorp:~# free -m total used free shared buffers cached Mem: 4011 759 3252 0 4 53 -/+ buffers/cache: 702 3309 Swap: 8191 15 8176 To clear the swap run : root@servcorp:~# swapoff -a &#038;&#038; swapon -a And free shows : root@servcorp:~# free -m [...]]]></description>
			<content:encoded><![CDATA[<p>It happens for swap to be used from time to time :</p>
<p><strong>root@servcorp:~# free -m</strong><br />
             total       used       free     shared    buffers     cached<br />
Mem:          4011        759       3252          0          4         53<br />
-/+ buffers/cache:        702       3309<br />
Swap:         8191         15       8176</p>
<p>To clear the swap run :</p>
<p><strong>root@servcorp:~# swapoff -a &#038;&#038; swapon -a</strong></p>
<p>And <strong>free </strong>shows :</p>
<p><strong>root@servcorp:~# free -m</strong><br />
             total       used       free     shared    buffers     cached<br />
Mem:          4011        746       3265          0          4         55<br />
-/+ buffers/cache:        686       3325<br />
Swap:         8191          0       8191</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/how-to-clear-swap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to clear cached RAM</title>
		<link>http://www.x83.net/how-to-clear-cached-ram/</link>
		<comments>http://www.x83.net/how-to-clear-cached-ram/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 12:23:56 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cached]]></category>
		<category><![CDATA[clear]]></category>
		<category><![CDATA[drop_caches]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=733</guid>
		<description><![CDATA[sync; echo 3 > /proc/sys/vm/drop_caches; echo 0 > /proc/sys/vm/drop_caches; sync]]></description>
			<content:encoded><![CDATA[<p><strong>sync; echo 3 > /proc/sys/vm/drop_caches; echo 0 > /proc/sys/vm/drop_caches; sync</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/how-to-clear-cached-ram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using mod_proxy in Plesk to redirect to a different site</title>
		<link>http://www.x83.net/using-mod_proxy-in-plesk-to-redirect-to-a-different-site/</link>
		<comments>http://www.x83.net/using-mod_proxy-in-plesk-to-redirect-to-a-different-site/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 07:10:40 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[proxypass]]></category>
		<category><![CDATA[proxypassreverse]]></category>
		<category><![CDATA[websrvmng]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=697</guid>
		<description><![CDATA[Scenario: Site1 : www.site.com Site2 : shop.site2.com The idea is to make a proxy redirect so if I access www.site.com/shop to be redirected to shop.site2.com and keep the URL in the browser. This can be done either by using mod_rewrite (if both sites are on the same server) or by using mod_proxy. In my case [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario:</p>
<p>Site1 : www.site.com<br />
Site2 : shop.site2.com</p>
<p>The idea is to make a proxy redirect so if I access www.site.com/shop to be redirected to shop.site2.com and keep the URL in the browser.<br />
This can be done either by using mod_rewrite (if both sites are on the same server) or by using mod_proxy. In my case I had to do this on a Plesk server.</p>
<p>I&#8217;ve created in /var/www/vhosts/site.com/conf a file called <strong>vhost.conf </strong>that contains:</p>
<p><code>ProxyRequests off<br />
Order deny,allow<br />
Allow from all<br />
</code></p>
<p><code>ProxyPass /shop http://shop.site2.com<br />
ProxyPassReverse /shop http://shop.site2.com<br />
SetEnv force-proxy-request-1.0 1<br />
SetEnv proxy-nokeepalive 1</p>
<p></code></p>
<p><code><br />
Order allow,deny<br />
Allow from all</p>
<p></code></p>
<p>Then I ran:</p>
<p><code>/usr/local/psa/admin/bin/websrvmng -a -v</code></p>
<p>Verify httpd.include to see if there is any Include directive.</p>
<p>Now if you go to www.site.com/shop/ you should be redirected to shop.site2.com. Notice the trailing slash after (../shop/). That needs to be there otherwise it won&#8217;t load the images properly.</p>
<p>This can be fixed by adding in vhost.conf a Rewrite rule like:<br />
<code>RewriteEngine on</code><br />
<code>RewriteRule ^/shop$ /shop/ [R]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/using-mod_proxy-in-plesk-to-redirect-to-a-different-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Dante socks proxy</title>
		<link>http://www.x83.net/install-dante-socks-proxy/</link>
		<comments>http://www.x83.net/install-dante-socks-proxy/#comments</comments>
		<pubDate>Mon, 24 May 2010 12:51:07 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dante]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[socks]]></category>

		<guid isPermaLink="false">http://www.x83.net/install-dante-socks-proxy/</guid>
		<description><![CDATA[Dante socks install : Download Dante from : ftp://ftp.inet.no/pub/socks/dante-1.2.0.tar.gz tar zxvf dante-1.2.0.tar.gz cd dante-1.2.0 yum install gcc make ./configure make -j4 make install ifconfig -a &#124;  grep inet &#124; awk &#8216;{print $2}&#8217; &#124; awk -F &#8216;:&#8217; &#8216;{print $2}&#8217; &#124; grep -v 127.0.0.1 &#62;  /root/ips for i in `cat ips` ;do echo &#8220;internal: $i port = [...]]]></description>
			<content:encoded><![CDATA[<p>Dante socks install :</p>
<p>Download Dante from : ftp://ftp.inet.no/pub/socks/dante-1.2.0.tar.gz</p>
<p>tar zxvf dante-1.2.0.tar.gz<br />
cd dante-1.2.0<br />
yum install gcc make<br />
./configure<br />
make -j4<br />
make install</p>
<blockquote><p>ifconfig -a |  grep inet | awk &#8216;{print $2}&#8217; | awk -F &#8216;:&#8217; &#8216;{print $2}&#8217; | grep -v 127.0.0.1 &gt;  /root/ips</p></blockquote>
<blockquote><p>for i in `cat ips` ;do echo &#8220;internal: $i port = 6060&#8243; &gt;&gt; /root/sockd.conf ;done</p></blockquote>
<p>Example of sockd.conf :</p>
<blockquote><p>logoutput: stderr<br />
method: username none<br />
external: externalIPtouse<br />
client pass {<br />
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0<br />
}<br />
pass {<br />
from: 0.0.0.0/0 to: 0.0.0.0/0<br />
method: username<br />
protocol: tcp udp<br />
}
</p></blockquote>
<p>Launch using :</p>
<p>sockd -f /root/sockd.conf -d</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/install-dante-socks-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

