Skip to content

Instantly share code, notes, and snippets.

@patryk
Last active June 1, 2018 21:11
Show Gist options
  • Save patryk/1af67ac9da35a4a4f76c13743bb779ed to your computer and use it in GitHub Desktop.
Save patryk/1af67ac9da35a4a4f76c13743bb779ed to your computer and use it in GitHub Desktop.
modules = {
'hints > iterate'
, 'policy'
, 'stats'
, predict = {
window = 30 -- 30 minutes sampling window
, period = 24*(60/30) -- track last 24 hours
}
}
hints.config('/tmp/kresd/hints.tmp')
net.bufsize(4096)
net.ipv4=true
net.ipv6=true
cache.open(20*MB)
policy.add(policy.all(policy.TLS_FORWARD({
{'1.1.1.1', insecure=true},
{'2606:4700:4700::1111', insecure=true},
{'1.0.0.1', insecure=true},
{'2606:4700:4700::1001', insecure=true}
})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment