Skip to content

Instantly share code, notes, and snippets.

@ersingencturk
Forked from cmer/haproxy.cfg
Created March 30, 2022 21:52
Show Gist options
  • Save ersingencturk/ab37fb9752bdd038c0646eb88c7d6c1b to your computer and use it in GitHub Desktop.
Save ersingencturk/ab37fb9752bdd038c0646eb88c7d6c1b to your computer and use it in GitHub Desktop.
Simple, no bullshit TCP port forwarding using HAProxy
listen l1
bind 0.0.0.0:443
mode tcp
timeout connect 4000
timeout client 180000
timeout server 180000
server srv1 host.example.com:9443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment