local.m4: Fix whitespace oddity.
[firewall] / gibson.m4
index 7ccc260..75b4607 100644 (file)
--- a/gibson.m4
+++ b/gibson.m4
 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 ###--------------------------------------------------------------------------
-### Config settings.
-
-## This host isn't a router.
-setconf(forward, 0)
-
-###--------------------------------------------------------------------------
-### Network interfaces.
-
-m4_divert(44)m4_dnl
-## Interface definitions.
-if_trusted=eth0
-if_dmz=$if_trusted
-if_safe=$if_dmz
-if_untrusted=$if_dmz
-if_vpn=$if_dmz
-if_iodine=$if_dmz
-if_its_mz=$if_dmz
-if_its_pi=$if_dmz
-
-m4_divert(-1)
-###--------------------------------------------------------------------------
 ### gibson-specific rules.
 
-m4_divert(82)m4_dnl
+m4_divert(86)m4_dnl
 ## Externally visible services.
 allowservices inbound tcp \
        ssh \
@@ -54,5 +33,10 @@ allowservices inbound tcp \
 allowservices inbound udp \
        siplo:siphi
 
+## IMPI client hacking.
+run ip46tables -A inbound -j ACCEPT \
+       -m state --state ESTABLISHED \
+       -p udp --source-port $port_ipmi
+
 m4_divert(-1)
 ###----- That's all, folks --------------------------------------------------