Am Montag, den 15.08.2005, 17:17 +0200 schrieb Daniel Heise:
> But after I restart my m0n0wall thinks still won't work. I've to enter
> the line above in the exec.php!
What about using absolute paths?
<shellcmd>/sbin/ifconfig rl0 inet 150.150.150.1 255.255.255.0
alias</shellcmd>
<shellcmd>/bin/echo "@7 pass out quick on rl0 from any to any keep
state" | /sbin/ipf -f -</shellcmd>
<shellcmd>/bin/echo "map rl0 192.168.0.0/24 -> 0.0.0.0/32" | /sbin/ipnat
-f -</shellcmd>
Ciao ...
... PIT ...
---------------------------------------------------------------------------
copyleft(c) by | _-_ The documentation is in Japanese. Good luck.
Peter Allgeyer | 0(o_o)0 -- Rich $alz
---------------oOO--(_)--OOo----------------------------------------------- |