May 10th, 2004

Danger Mouse

iptables, you bastard!

Okay, iptables/netfilter has got me really annoyed.

I've spent the past few days fine-tuning my firewall rules. Slowly, but surely, I'd just gotten them *just right*.

And now they're gone. Bizarrely, strangely, unexplainably, gone.

nexus:~$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

What the hell is going on?

(No, I hadn't saved them, yet. I wanted to make sure everything was perfect, and then I was going to write it all into a script. Why not do that first? Bleh, what did I have to worry about? My firewall's average uptime is 200+ days, and it's never lost it's firewall rules like this, before.)

And what's even more bizarre, is that at least some of them are still working. My NAT rules are still working. I know this, because I'm currently accessing the Internet from a machine on the LAN, *behind* the firewall that suddenly seems to have lost it's rules.

However, some of them *aren't* working. And it's leaving me very, very confused.
  • Current Mood
    frustrated