Is this thing on?
2007-04-06 10:12 pmAfter a lot of jumping up and down and screaming, I appear to have a crude firewall (using Shorewall on my Debian laptop, which was conveniently at hand) on my new DSL line that I can route through. I can traceroute to google.com and read lj -- that's a good sign. Yes, it's faster. Much faster. Ship it.
Total debug time: about 4 hours. Apparently the Debian version of
shorewall.conf is missing the crucial line:
IP_FORWARDING=On
... so of course it wouldn't forward packets. Grump. There were a dozen or so other assorted things to fix in the example config, but that was the big one.
About the only other things I've done today was getting the assorted receipts organized for data entry, and taking a 2.5 mile walk.
Now I'll have to change the DNS entries for my assorted domains, and -- most importantly -- fix my mail configuration so that it will relay through sonic's mail server.
no subject
Date: 2007-04-07 06:33 am (UTC)Shorewall is far from crude, and any ancient laptop you can convince to have two NICs (virtual or otherwise) would make a darn fine firewall. The only reason I was wasting a K6-233 on the shorewall I had instead of the P-133 was I was too impatient, and apt-get update took too darn long on the slow box.
You know what would be fun: One of those little Sparc shoeboxes and a copy of OpenBSD. I dee-devil-dare the skript kiddies to crack that.... and pf is a really nice, intuitive firewall. About five minutes with TFMP and I had a pretty nice little firewall all sketched out, took about 20 lines to do it all... DNS inbound, RELATED rules, everything from soup to nuts.
The other two ways to do it are a WRT54GL with OpenWRT or similar, or something cheap that you can manage to not have a CPU fan on (or if you do, have it be an Arctic Cool or a Zalman, and silicone grommet all the fans including the power supply)... that and a copy of Debian with that Shorewall config you just genned up. Or perhaps Trustix...
no subject
Date: 2007-04-07 09:56 am (UTC)no subject
Date: 2007-04-07 02:32 pm (UTC)2) It's *different*. Heterogeny is good for security; it means when a vulnerability does come out, not everyone is vulnerable.
3) pf is really a very sweet little language. It's a lot more readable (to me, anyway) than iptables. And the QOS is built-in; you don't have to use a different tool to do that. Very important if you intend to do VOIP.
So, no, it really does rock, and that's coming from someone who, while he isn't as die-hard a penguinista as, say, rms, *absolutely* *refuses* to run Microshaft on *any* of the machines he owns, even though it irritates She Who Must Be Obeyed just a little. (Not much, though! Between Falconseye, Civilization, and reading about the latest raft of trouble surrounding the cursor bug, she's glad she's *not* running Windows this week!)
Oh, one more thing:
4) Full-house OS (less X, but with compilers), 138mb. Half that if you don't need compilers (bad idea on a firewall box). You can comfortably snarf overnight *at 56k*.
Yes, it's only free as in beer. But it's free as in beer *source code*... which has its advantages.
OK. I'll stop playing advocatus diaboli now.
(There is one advantage to homogenity: maintenance!)
Pardon me while I go apt-get update all my systems... :)
no subject
Date: 2007-04-07 02:41 pm (UTC)I've considered OpenWRT, but haven't reflashed my WRT54G yet, so there would have been an extra learning curve.
The plan is to experiment a little, figure out how to make mail forwarding work properly, and eventually update my existing firewall, which is on a mini-ITX board. Sometime this weekend, though, I'll probably take it off the lappy and copy the config to my fanless mini-ITX X terminal, which isn't being used at the moment. Quieter.
no subject
Date: 2007-04-07 09:54 am (UTC)(I usually can't stand to see the rules those "linux firewalls" generate -- a lot like how an assembler programmer would freak out at seeing compiler-produced assembler, I guess...)
no subject
Date: 2007-04-07 02:35 pm (UTC)Actually, "lokkit" generates fairly clean code. I let it do a first pass and then tweak to suit. If I'm not outright cribbing.
no subject
Date: 2007-04-07 02:45 pm (UTC)no subject
Date: 2007-04-07 03:02 pm (UTC)