Port forwarding using HAproxy
HAproxy can be used not only for complex load-balancing scenarios, but also for simple port forwarding. Useful for forwarding packets originating from both local and external hosts. listen postgresql 0.0.0.0:5432 mode tcp stats enable balance roundrobin server postgresql-db 192.168.0.1:5432 check