Skip to content

Instantly share code, notes, and snippets.

@cmer
Last active April 15, 2024 09:54
Show Gist options
  • Save cmer/e58e90dbf820a850ff4f136f85697be0 to your computer and use it in GitHub Desktop.
Save cmer/e58e90dbf820a850ff4f136f85697be0 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
@kcsinclair
Copy link

works, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment