Add example config file and s6 run file.
This commit is contained in:
parent
484a9c516b
commit
5bca0a3d48
6
examples/s6.run
Executable file
6
examples/s6.run
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/execlineb -P
|
||||
fdmove -c 2 1
|
||||
backtick OLDEXTIP { cat /etc/firewall/tmp/OLDEXTIP }
|
||||
importas OLDEXTIP OLDEXTIP
|
||||
/sbin/ndhc -c /etc/ndhc/wan0.conf -r $OLDEXTIP
|
||||
|
17
examples/wan0.conf
Normal file
17
examples/wan0.conf
Normal file
@ -0,0 +1,17 @@
|
||||
user = ndhc
|
||||
ifch-user = ndhc-ifch
|
||||
sockd-user = ndhc-sockd
|
||||
chroot = /var/lib/ndhc
|
||||
state-dir = /etc/ndhc
|
||||
interface = wan0
|
||||
now = true
|
||||
hostname = EXAMPLE-HOST
|
||||
clientid = aa:bb:cc:dd:ee:ff
|
||||
relentless-defense = true
|
||||
s6-notify = 3
|
||||
arp-probe-wait = 50
|
||||
arp-probe-num = 3
|
||||
arp-probe-min = 50
|
||||
arp-probe-max = 100
|
||||
script-file = /sbin/fw-wan0-ipchange
|
||||
|
Loading…
Reference in New Issue
Block a user