|
发表于 2005-3-2 14:09:15
|
显示全部楼层
把配置文件download下来,然后把要自动执行的命令加在下面红色的标记之间。标准的config.xml是没有的标记的,需要自己添加。
QUOTE
- <!-- m0n0wall default system configuration --> - 1.4 - m0n0wall local admin $1$2xGLA75j$W/jiJc00HYBZX7kFjxjQv0 Etc/UTC 300 pool.ntp.org - http - <!-- --> - <!-- --> - <!-- --> - <!-- --> - <!-- --> - - sis0 192.168.1.1 24 - <!-- *see below (opt[n])* --> - sis1 dhcp - <!-- *or* ipv4-address *or* 'pppoe' *or* 'pptp' *or* 'bigpond' --> - <!-- *see below (opt[n])* --> - <!-- lan|wan|opt[n] hostap *or* bss *or* ibss --> - <!-- --> - - <!-- lan|opt[n]|pptp xxx.xxx.xxx.xxx/xx xxx.xxx.xxx.xxx --> - - - - - <!-- --> dyndns - <!-- --> - - - 192.168.1.100 192.168.1.199 - <!-- xxx.xxx.xxx.xxx --> - <!-- ... --> - <!-- xx:xx:xx:xx:xx:xx xxx.xxx.xxx.xxx --> - - - <!-- off *or* server *or* redir --> - <!-- --> - - <!-- --> - - <!-- --> public - - - <!-- --> - - <!-- --> - - <!-- xxx.xxx.xxx.xxx --> - <!-- lan|opt[n] minutes minutes --> - - <!-- --> - <!-- xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx --> - <!-- xxx.xxx.xxx.xxx/xx *or* xxx.xxx.xxx.xxx/xx xxx.xxx.xxx.xxx --> - <!-- --> - - pass Default LAN -> any lan - lan - - <!-- rule syntax: pass|block|reject ... lan|opt[n]|wan|pptp tcp|udp|tcp/udp|... xxx.xxx.xxx.xxx(/xx) or alias *or* lan|opt[n]|pptp *or* a[-b] *same as for source* --> - - <!-- --> - <!-- rule syntax: number (zero based) *or* number (zero based) lan|wan|opt[n]|pptp tcp|udp in|out xxx.xxx.xxx.xxx(/xx) *or* lan|opt[n]|pptp *or* a[-b] *same as for source* from[-to] (!)lowdelay,throughput,reliability,mincost,congestion (!)fin,syn,rst,psh,ack,urg source|destination number (zero based) source|destination --> - - <!-- --> - <!-- syntax: lan|wan|opt[n] xxx.xxx.xxx.xxx(/xx) *or* lan|opt[n] xxx.xxx.xxx.xxx/xx *or* xxx.xxx.xxx.xxx *or* the.fq.dn *or* xxx.xxx.xxx.xxx *or* the.fq.dn --> - - <!-- xxx.xxx.xxx.xxx(/xx) --> - - <!-- xxx.xxx.xxx.xxx/xx *or* xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx --> - - <!-- lan|opt[n] xx:xx:xx:xx:xx:xx --> |
|