[ previous ] [ next ] [ threads ]
 
 From:  MrManiac's Listings <mrmaniac dot lists at gmail dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Feature Request
 Date:  Sat, 4 Jun 2005 00:05:46 +0200
2005/6/3, Wesley Joyce <wjoyce at uvi dot edu>:
...
> 
> Is there a way in m0n0wall to statically create an arp entry?
> 
> Command line equivalent -
> /usr/sbin/arp -S 192.168.1.1 AB:CD:EF:AB:CD:EF

Hi,

yes, there is. Goto https://your.m0n0.wall/exec.php and use the arp
command just like you wrote above. But to make this permanent, you
have to put those commands into your config.xml manually:

<earlyshellcmd>
/usr/sbin/arp -S 192.168.1.1 AB:CD:EF:AB:CD:EF
/usr/sbin/arp -S 192.168.1.2 AA:BB:CC:DD:EE:FF
...
</earlyshellcmd>

See http://www.m0n0.ch/wall/docbook/faq-hiddenopts.html for further options

Greetings,
Andre