[ previous ] [ next ] [ threads ]
 
 From:  Chris Buechler <cbuechler at gmail dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] shellcmd
 Date:  Mon, 21 Feb 2005 12:13:24 -0500
On Mon, 21 Feb 2005 15:25:25 +0100, Marc-Henri Boisis-Delavaud
<marc dash henri dot boisis dash delavaud at univ dash lr dot fr> wrote:
> Hello
> I try to write this in config.xml, in ther system tag
> 
>         <shellcmd>sbin/ipfw add 10000 skipto 50000 ip from any to
> 10.1.11.101 dst-port 80 in</shellcmd>
>         <shellcmd>sbin/ipfw add 10000 skipto 50000 ip from 10.1.11.101
> 80 to any  out</shellcmd>
>  but when I reboot , ipfw show don't show me these rules.
> Is there something wrong ?

Doesn't look like you have a / in front of sbin.  i.e. /sbin/ipfw add ... 

-Chris