Skip to content

Instantly share code, notes, and snippets.

@sonsongithub
Created March 24, 2020 01:36
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 sonsongithub/2b8e00377f91b59a9aac313f124bb07e to your computer and use it in GitHub Desktop.
Save sonsongithub/2b8e00377f91b59a9aac313f124bb07e to your computer and use it in GitHub Desktop.
proxy eth0 {
router no
timeout 500
autowire yes
keepalive yes
retries 3
ttl 30000
rule ::/0 {
iface switch0.10
}
rule ::/0 {
iface switch0.30
}
}
proxy switch0.10 {
router yes
timeout 500
autowire yes
keepalive yes
retries 3
ttl 30000
rule ::/0 {
auto
}
}
proxy switch0.30 {
router yes
timeout 500
autowire yes
keepalive yes
retries 3
ttl 30000
rule ::/0 {
auto
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment