<html>
  <head>
    <style type="text/css">
      <!--
        body { font-variant: normal; line-height: normal; margin-top: 4px; margin-right: 4px; margin-bottom: 1px; margin-left: 4px }
        p { margin-top: 0; margin-bottom: 0 }
      -->
    </style>
    
  </head>
  <body>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">I believe it is just ipfw</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">larkin&#36; ipfw -h</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">ipfw syntax summary &#40;but please do read the ipfw&#40;8&#41; manpage&#41;:</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">ipfw &#91;-acdeftTnNpqS&#93; &lt;command&gt; where &lt;command&gt; is one of:</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">add &#91;num&#93; &#91;set N&#93; &#91;prob x&#93; RULE-BODY</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">&#123;pipe&#124;queue&#125;&nbsp;N config PIPE-BODY</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">&#91;pipe&#124;queue&#93;&nbsp;&#123;zero&#124;delete&#124;show&#125;&nbsp;&#91;N&#123;&#44;N&#125;&#93;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">set &#91;disable N... enable N...&#93;&nbsp;&#124;&nbsp;move &#91;rule&#93; X to Y&nbsp;&#124;&nbsp;swap X Y&nbsp;&#124;&nbsp;show</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">RULE-BODY:check-state &#91;LOG&#93;&nbsp;&#124;&nbsp;ACTION &#91;LOG&#93; ADDR &#91;OPTION_LIST&#93;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">ACTION:check-state&nbsp;&#124;&nbsp;allow&nbsp;&#124;&nbsp;count&nbsp;&#124;&nbsp;deny&nbsp;&#124;&nbsp;reject&nbsp;&#124;&nbsp;skipto N&nbsp;&#124;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">&#123;divert&#124;tee&#125;&nbsp;PORT&nbsp;&#124;&nbsp;forward ADDR&nbsp;&#124;&nbsp;pipe N&nbsp;&#124;&nbsp;queue N</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">ADDR:&#91; MAC dst src ether_type &#93; </font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">&#91; from IPADDR &#91; PORT &#93; to IPADDR &#91; PORTLIST &#93; &#93;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">IPADDR:&#91;not&#93;&nbsp;&#123;&nbsp;any&nbsp;&#124;&nbsp;me&nbsp;&#124;&nbsp;ip/bits&#123;x&#44;y&#44;z&#125;&nbsp;&#124;&nbsp;IPLIST&nbsp;&#125;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">IPLIST:&#123;&nbsp;ip&nbsp;&#124;&nbsp;ip/bits&nbsp;&#124;&nbsp;ip:mask&nbsp;&#125;&#91;&#44;IPLIST&#93;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">OPTION_LIST:OPTION &#91;OPTION_LIST&#93;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">OPTION:bridged&nbsp;&#124;&nbsp;&#123;dst-ip&#124;src-ip&#125;&nbsp;ADDR&nbsp;&#124;&nbsp;&#123;dst-port&#124;src-port&#125;&nbsp;LIST&nbsp;&#124;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">estab&nbsp;&#124;&nbsp;frag&nbsp;&#124;&nbsp;&#123;gid&#124;uid&#125;&nbsp;N&nbsp;&#124;&nbsp;icmptypes LIST&nbsp;&#124;&nbsp;in&nbsp;&#124;&nbsp;out&nbsp;&#124;&nbsp;ipid LIST&nbsp;&#124;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">iplen LIST&nbsp;&#124;&nbsp;ipoptions SPEC&nbsp;&#124;&nbsp;ipprecedence&nbsp;&#124;&nbsp;ipsec&nbsp;&#124;&nbsp;iptos SPEC&nbsp;&#124;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">ipttl LIST&nbsp;&#124;&nbsp;ipversion VER&nbsp;&#124;&nbsp;keep-state&nbsp;&#124;&nbsp;layer2&nbsp;&#124;&nbsp;limit ...&nbsp;&#124;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">mac ...&nbsp;&#124;&nbsp;mac-type LIST&nbsp;&#124;&nbsp;proto LIST&nbsp;&#124;&nbsp;&#123;recv&#124;xmit&#124;via&#125;&nbsp;&#123;IF&#124;IPADDR&#125;&nbsp;&#124;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">setup&nbsp;&#124;&nbsp;&#123;tcpack&#124;tcpseq&#124;tcpwin&#125;&nbsp;NN&nbsp;&#124;&nbsp;tcpflags SPEC&nbsp;&#124;&nbsp;tcpoptions SPEC&nbsp;&#124;</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">verrevpath</font>    </p>
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; &quot;Miles Leacy&quot; &lt;miles.leacy@themacadmin.com&gt; 12/10/08 3:34 PM &gt;&gt;&gt;<br>Before I&#160;exercise&#160;my Google-fu&#44; I&#39;m hoping someone can point me at the correct commands to manage the Mac OS X firewall &#40;on OS X Server&#44; if there&#39;s a difference&#41; via shell script.    </p>
    <div content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <p style="margin-top: 0; margin-bottom: 0">
        <br>
              </p>
    </div>
    <div>
      <p style="margin-top: 0; margin-bottom: 0">
        Thanks in advance.<br clear="all"><br>----------<br>Miles A. Leacy IV<br><br>&#63743; Certified System Administrator 10.4<br>&#63743; Certified Technical Coordinator 10.5<br>&#63743; Certified Trainer<br>Certified Casper Administrator<br>----------<br>voice: 1-347-277-7321<br><a href="mailto:miles.leacy@themacadmin.com">miles.leacy@themacadmin.com</a><br><a href="http://www.themacadmin.com">www.themacadmin.com</a><br><br><br>
      </p>
    </div>
  </body>
</html>