Skip to content

Instantly share code, notes, and snippets.

@fakhriaunur
fakhriaunur / dnsmasq.conf
Created April 8, 2020 09:19 — forked from PatelUtkarsh/dnsmasq.conf
stubby cloudflare ipv4 and ipv6
no-resolv
proxy-dnssec
server=::1#5353
server=127.0.0.1#5353
listen-address=::1,127.0.0.1
# Put any other line here like laravel valet using .test domain.
address=/.test/127.0.0.1
cat > pppoe-server-options <<EOF
require-pap
login
lcp-echo-interval 10
lcp-echo-failure 20
ms-dns 8.8.8.8
EOF
sudo pppoe-server -F -I eth0 -L 192.168.251.1 -R 192.168.251.100 -N 20 -O pppoe-server-options
# capture with wireshark / tcpdump here