IPFW rules for a FBSD Firewall
(how to cope with multiple links)
Richard Caley, 6th December 2001

This is my current set of IPFW rules. The main feature is that it understands multiple internal and external network interfaces. I use this because I have a modem as well as a cable connection on the firewall machine.

The rules are defined by a couple of shell functions, ipfw_e adds a rule for all external interfaces, ipfw_i does the same for internal interfaces.

Notes:

  • The IGMP rule is BY cable modem specific. The modem sends IGMP packets for no real reason and so I odn't want to log them.
  • This allows only passive mode ftp from inside.

See Also:


Richard Caley / IPFW Rules / 6th December 2001