<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Iptables on sigtar.com</title>
		<link>https://sigtar.com/tags/iptables/</link>
		<description>Recent content in Iptables on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Wed, 22 Apr 2009 00:00:00 +1200</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/iptables/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Opensolaris - configuring squid as a transparent proxy</title>
				<link>https://sigtar.com/2009/04/22/opensolaris-configuring-squid-as-transparent-proxy/</link>
				<pubDate>Wed, 22 Apr 2009 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2009/04/22/opensolaris-configuring-squid-as-transparent-proxy/</guid>
				<description>&lt;p&gt;I used to have a virtual machine that acted as a transparent proxy, but as of late thought i&amp;rsquo;d move squid onto my host box (opensolaris). This way hopefully increasing the amount of free ram available to the host while also taking advantage of ZFS etc&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;So this is a very brief guide on how to configure your opensolaris 2008.11 box as a transparent proxy. Essentially meaning if you set the solaris box as the default gateway all web traffic will be cached as it goes through it before it goes onto your dls router or outside connection.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux - routing examples</title>
				<link>https://sigtar.com/2009/02/20/linux-routing-examples/</link>
				<pubDate>Fri, 20 Feb 2009 00:00:00 +1300</pubDate>
				<guid>https://sigtar.com/2009/02/20/linux-routing-examples/</guid>
				<description>&lt;p&gt;set ip_forward to 1 to enable routing between nics. type &amp;lsquo;&lt;strong&gt;route&lt;/strong&gt;&amp;rsquo; to insure both networks are routed as expected (connected route added with nic)&lt;/p&gt;&#xA;&lt;p&gt;Setup a script with the following (&lt;strong&gt;CHMOD 0755&lt;/strong&gt; the script so it executes)&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;iptables -F&lt;/strong&gt; (clears previous iptables stuff) &lt;strong&gt;iptables -P INPUT DROP&lt;/strong&gt; (will set default policy to DROP all INPUT packets - Incoming to local NICs) &lt;strong&gt;iptables -P OUTPUT DROP&lt;/strong&gt; (will set default policy to DROP all OUTPUT packets - Outgoing to local NICs) &lt;strong&gt;iptables -P FORWARD DROP&lt;/strong&gt; (will set default policy to DROP all FORWARDed packets - Routed via local NICs)&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
