Skip to content

Instantly share code, notes, and snippets.

@bengalih
Last active April 3, 2023 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bengalih/c13c360ac2ceb7e54d9380eb8421f087 to your computer and use it in GitHub Desktop.
Save bengalih/c13c360ac2ceb7e54d9380eb8421f087 to your computer and use it in GitHub Desktop.
no address range available for DHCP request via br0
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic
interface=br0
interface=pptp*
no-dhcp-interface=pptp*
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
domain=XXXXX.local
expand-hosts
bogus-priv
domain-needed
ra-param=br0,10,600
enable-ra
quiet-ra
dhcp-range=lan,::,constructor:br0,ra-stateless,64,600
dhcp-option=lan,option6:23,[::]
dhcp-option=lan,option6:24,XXXXXX.local
interface=tun21
interface=tun22
interface=br1
dhcp-range=br1,192.168.101.2,192.168.101.254,255.255.255.0,86400s
dhcp-option=br1,3,192.168.101.1
interface=br2
dhcp-range=br2,192.168.102.2,192.168.102.254,255.255.255.0,86400s
dhcp-option=br2,3,192.168.102.1
trust-anchor=.,20326,8,2,XXXXXXXX
dnssec
address=/use-application-dns.net/
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
script-arp
addn-hosts=/jffs/configs/hosts
ipset=/iplists.firehol.org/ipdeny.com/ipapi.co/api.db-ip.com/api.bgpview.io/asn.ipinfo.app/speedguide.net/otx.alienvault.com/github.com/raw.githubusercontent.com/astrill.com/strongpath.net/snbforums.com/bin.entware.net/nwsrv-ns1.asus.com/fwupdate.asuswrt-merlin.net/pool.ntp.org/Skynet-WhitelistDomains # Skynet
# Custom - dnsmasq.postconf
log-dhcp
log-facility=/tmp/dhcp.log
interface=wl0.1
dhcp-range=wl0.1,172.20.20.150,172.20.20.199,255.255.255.0,86400s
dhcp-option=wl0.1,3,172.20.20.1
dhcp-option=wl0.1,6,1.1.1.1,1.0.0.1
interface=wl1.1
dhcp-range=wl1.1,172.20.30.150,172.20.30.199,255.255.255.0,86400s
dhcp-option=wl1.1,3,172.20.30.1
dhcp-option=wl1.1,6,1.1.1.1,1.0.0.1
interface=wl0.2
dhcp-range=wl0.2,10.10.20.50,10.10.20.199,255.255.255.0,86400s
dhcp-option=wl0.2,3,10.10.20.1
dhcp-option=wl0.2,6,1.1.1.1,1.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment