-
-
Save lifeblood/28274646f360ca5b4ca138c2c9ba2533 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend ssl | |
mode tcp | |
bind 0.0.0.0:443 name frontend-ssl | |
option tcplog | |
log global | |
tcp-request inspect-delay 3s | |
tcp-request content accept if { req.ssl_hello_type 1 } | |
use_backend main-ssl if { req.ssl_hello_type 1 } | |
use_backend ssh if !{ req.ssl_hello_type 1 } { payload(0,7) -m bin 5353482d322e30 } | |
use_backend openvpn if !{ req.ssl_hello_type 1 } !{ req.len 0 } | |
use_backend ssh if !{ req.ssl_hello_type 1 } { req.len 0 } | |
backend main-ssl | |
mode tcp | |
server main-ssl 127.0.0.1:8443 | |
backend openvpn | |
mode tcp | |
server openvpn-localhost 127.0.0.1:1194 | |
backend ssh | |
mode tcp | |
server ssh-localhost 127.0.0.1:22 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment