Skip to content

Instantly share code, notes, and snippets.

@snoby
Created December 28, 2022 21:38
Show Gist options
  • Save snoby/ff8a7a38f1851470c5a118faaad4519a to your computer and use it in GitHub Desktop.
Save snoby/ff8a7a38f1851470c5a118faaad4519a to your computer and use it in GitHub Desktop.
stratum
resolvers vipordns
hold valid 60s
defaults
mode tcp
timeout connect 30s
timeout client 1m
timeout server 1m
frontend public-stratum
bind :5066-5176
default_backend stratums
backend stratums
stats enable
stats uri /admin?stats
stats refresh 5s
stick-table type ip size 10m expire 5d
stick on src
balance leastconn
option tcp-check
server cattle1 prod-lab-us-cattle1.viporlab.net send-proxy
server cattle2 prod-lab-us-cattle2.viporlab.net send-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment