<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Nat on sigtar.com</title>
		<link>https://sigtar.com/tags/nat/</link>
		<description>Recent content in Nat on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Fri, 20 Feb 2009 00:00:00 +1300</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/nat/index.xml" rel="self" type="application/rss+xml" />
			<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>
