<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>@Lathi.net: Cranky Firewall</title>
    <link>http://blog.lathi.net/articles/2005/02/05/cranky-firewall</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>On Life, Fatherhood, Christianity, and Computers</description>
    <item>
      <title>Cranky Firewall</title>
      <description>I&amp;#8217;ve been wrestling with my firewall last night and today.  At home I use a &lt;a href="http://lathi.net/twiki-bin/view/Main/ThinkPad"&gt;ThinkPad&lt;/a&gt; running Debian Linux and Shorewall as my firewall/router.  I know I could buy a dedicated firewall/router unit for less than $100; but I really like having full control over my public network interface.  For instance I use my &lt;a href="http://lathi.net/twiki-bin/view/Main/ThinkPad"&gt;ThinkPad&lt;/a&gt; to do &lt;span class="caps"&gt;VPN&lt;/span&gt;-like tunneling from my work.
&lt;p /&gt;
Anyway, for some reason it quit working Thursday night.  After more than a few hours of mucking with it, I finally fixed it.  Turns out my shorewall configuration had &lt;code&gt;IP_FORWARDING=Keep&lt;/code&gt;.  This told it to preserve whatever IP forwarding that had previously been configured.  So apparently, my configuration had enable IP forwarding at some time outside of shorewall.  I don&amp;#8217;t know how my IP forwarding got disabled. &lt;img alt="frown" src="http://www.lathi.net/twiki/TWiki/SmiliesPlugin/frown.gif" /&gt;  However, setting &lt;code&gt;IP_FORWARDING=on&lt;/code&gt; in my shorewall.conf fixed the problem.
&lt;p /&gt;
As an added bonus, I got aggravated enough typing in IP addresses of my home &lt;span class="caps"&gt;LAN&lt;/span&gt; that I finally setup an internal &lt;span class="caps"&gt;DNS&lt;/span&gt;.  It&amp;#8217;s always bothered me typing &lt;code&gt;ssh 10.0.1.1&lt;/code&gt; but never enough to actually do anything.  Now I can just type &lt;code&gt;ssh gateway&lt;/code&gt;.</description>
      <pubDate>Sat, 05 Feb 2005 12:45:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:9c759cab9c59b204c342f46334427adb</guid>
      <author>Doug</author>
      <link>http://blog.lathi.net/articles/2005/02/05/cranky-firewall</link>
      <category>Internet</category>
    </item>
  </channel>
</rss>

