<?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>Debian Tutorials &#187; proxy</title>
	<atom:link href="http://www.debiantutorials.com/tag/proxy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian Linux</description>
	<lastBuildDate>Wed, 18 Aug 2010 00:35:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing HAVP (HTTP Antivirus Proxy)</title>
		<link>http://www.debiantutorials.com/installing-havp-http-antivirus-proxy/</link>
		<comments>http://www.debiantutorials.com/installing-havp-http-antivirus-proxy/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 06:50:05 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[havp]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=315</guid>
		<description><![CDATA[HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. The main aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic. Havp antivirus proxy has a parent and transparent proxy mode. It can be used with squid or standalone.
1. Install HAVP
apt-get install havp

2. Start HAVP if it [...]]]></description>
			<content:encoded><![CDATA[<p>HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. The main aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic. Havp antivirus proxy has a parent and transparent proxy mode. It can be used with squid or standalone.</p>
<p>1. Install HAVP</p>
<p><code>apt-get install havp<br />
</code><span id="more-315"></span></p>
<p>2. Start HAVP if it didn't start after the installation</p>
<p><code>/etc/init.d/havp start<br />
</code></p>
<p>It's ready, by default HAVP listens on port 8080. You can configure your web browser to use the server as a proxy.</p>
<p>You can customize the error pages by editing the html files in this directory: /etc/havp/templates/en/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-havp-http-antivirus-proxy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing nginx from source with mail support</title>
		<link>http://www.debiantutorials.com/installing-nginx-from-source-with-mail-support/</link>
		<comments>http://www.debiantutorials.com/installing-nginx-from-source-with-mail-support/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 23:14:33 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=251</guid>
		<description><![CDATA[nginx is a lightweight, high performance web server/reverse proxy and e-mail (SMTP/IMAP/POP3) proxy.
1. Install required packages
apt-get install build-essential autotools-dev debhelper libpcre3-dev zlib1g-dev libssl-dev

2. Receive the nginx source
apt-get source nginx

3. Enable the mail modules
cd nginx-x.x.x
pico debian/rules

Replace nginx-x.x.x with the correct folder created.
Add "--with-mail --with-mail_ssl_module" to the line starting with ./configure so that it looks something like [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.debiantutorials.net/wp-content/uploads/2010/03/nginx-logo.png" alt="nginx" title="nginx" width="175" height="45" class="alignright size-full wp-image-253" />nginx is a lightweight, high performance web server/reverse proxy and e-mail (SMTP/IMAP/POP3) proxy.</p>
<p>1. Install required packages</p>
<p><code>apt-get install build-essential autotools-dev debhelper libpcre3-dev zlib1g-dev libssl-dev<br />
</code><span id="more-251"></span></p>
<p>2. Receive the nginx source</p>
<p><code>apt-get source nginx<br />
</code></p>
<p>3. Enable the mail modules</p>
<p><code>cd nginx-x.x.x<br />
pico debian/rules<br />
</code></p>
<p><em>Replace nginx-x.x.x with the correct folder created.</em></p>
<p>Add "--with-mail --with-mail_ssl_module" to the line starting with ./configure so that it looks something like this:</p>
<p><code>./configure $(CONFIGURE_OPTS) --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock   --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module --with-mail --with-mail_ssl_module<br />
</code></p>
<p>4. Build the package</p>
<p><code>dpkg-buildpackage<br />
</code></p>
<p>5. Install the new nginx package</p>
<p><code>dpkg -i ../nginx_x.x.x-x.deb<br />
</code></p>
<p><em>Replace nginx_x.x.x-x.deb with the correct version and platform. In my case the filename is: nginx_0.6.32-3+lenny3_amd64.deb</em></p>
<p>6. Configure nginx</p>
<p>Next step is to configure the nginx rules. That's outside the scope of this tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-nginx-from-source-with-mail-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and configuring Squid proxy server</title>
		<link>http://www.debiantutorials.com/installing-and-configuring-squid-proxy-server/</link>
		<comments>http://www.debiantutorials.com/installing-and-configuring-squid-proxy-server/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 23:05:25 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/installing-and-configuring-squid-proxy-server/</guid>
		<description><![CDATA[Squid is a caching proxy supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
1. Install the Squid package
apt-get install squid

2. Allow your ip network to use the proxy server (pico /etc/squid/squid.conf). Append lines [...]]]></description>
			<content:encoded><![CDATA[<p>Squid is a caching proxy supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.</p>
<p>1. Install the Squid package</p>
<p><code>apt-get install squid<br />
</code><span id="more-218"></span></p>
<p>2. Allow your ip network to use the proxy server (pico /etc/squid/squid.conf). Append lines similar to these to your config </p>
<p>file:</p>
<p><code>acl mynetwork src 192.168.1.0/255.255.255.0<br />
http_access allow mynetwork<br />
</code></p>
<p><em>Replace 192.168.1.0/255.255.255.0 with the network that should be able to use the proxy.</em></p>
<p>3. Don't forward client ip information (optional)</p>
<p><code>forwarded_for off<br />
</code></p>
<p>4. Restart the daemon</p>
<p><code>/etc/init.d/squid restart<br />
</code></p>
<p>5. Configure your web browser or application your would like to use the proxy server to connect to serverip at port 3128.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-configuring-squid-proxy-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple load balancing using Pound</title>
		<link>http://www.debiantutorials.com/simple-load-balancing-using-pound/</link>
		<comments>http://www.debiantutorials.com/simple-load-balancing-using-pound/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 20:30:47 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[pound]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=213</guid>
		<description><![CDATA[The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable distributing the load among several Web-servers and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively.
1. Install the pound package
apt-get install pound

2. Configure the load balancing. Replace [...]]]></description>
			<content:encoded><![CDATA[<p>The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable distributing the load among several Web-servers and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively.</p>
<p>1. Install the pound package</p>
<p><code>apt-get install pound<br />
</code><span id="more-213"></span></p>
<p>2. Configure the load balancing. Replace everything below and including ListenHTTP with something like this: (pico /etc/pound/pound.cfg)</p>
<p><code>ListenHTTP<br />
&nbsp;&nbsp;Address 0.0.0.0<br />
&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;xHTTP 0<br />
&nbsp;<br />
&nbsp;&nbsp;Service<br />
&nbsp;&nbsp;&nbsp;&nbsp;HeadRequire "Host: .*www.google.com.*"<br />
&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.103<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.104<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.105<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.106<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;End<br />
End<br />
</code></p>
<p><em>In this example we'll be listening for www.google.com and forward requests to 4 of Google's web servers/clusters. You can of course replace the domain with one of your own and point it to any servers. The servers can be on different networks, using different platforms and you can even forward different paths to different servers. Ex. www.google.com/apps could be forwarded to 1.2.3.4 while www.google.com is forwarded to 2.3.4.5. <a href="http://www.apsis.ch/pound/" target="_blank">Click here for more details about Pound</a></em> </p>
<p>3. Enable the Pound service (pico /etc/default/pound)</p>
<p><code>startup=1<br />
</code></p>
<p>4. Restart Pound</p>
<p><code>/etc/init.d/pound start<br />
</code></p>
<p>You must point the dns record for www.google.com to your server's IP address. You could use the hosts file to do this or use another domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/simple-load-balancing-using-pound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
