X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/firewall/blobdiff_plain/a3972fea9c58e172fb2a1c1dc7362ec6a40fa4bd..42f784e269e56ef394744bd64eb8f411f4acbcf6:/gibson.m4 diff --git a/gibson.m4 b/gibson.m4 index c49c36a..75b4607 100644 --- a/gibson.m4 +++ b/gibson.m4 @@ -21,32 +21,22 @@ ### along with this program; if not, write to the Free Software Foundation, ### 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_untrusted=eth0 -if_trusted=eth0 -if_vpn=eth0 -if_iodine=eth0 -if_its_mz=eth0 -if_its_pi=eth0 - -m4_divert(-1) ###-------------------------------------------------------------------------- ### gibson-specific rules. -m4_divert(82)m4_dnl +m4_divert(86)m4_dnl ## Externally visible services. allowservices inbound tcp \ - ssh + ssh \ + ident \ + h323 +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 --------------------------------------------------