Skip to content

Instantly share code, notes, and snippets.

@cmer cmer/haproxy.cfg

Last active Jul 27, 2020
Embed
What would you like to do?
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
@i5heu

This comment has been minimized.

Copy link

i5heu commented Jan 14, 2020

The config file is at path /etc/haproxy/haproxy.cfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.