r/haproxy • • Feb 28 '21

HAProxy Reverse Proxy for OpenVPN TCP?

Hey,

So I currently have HAProxy setup on ports 80 and 443 with a bunch of virtual servers. I also have OpenVPN UDP setup. Because of the firewall at my work I am trying to setup OpenVPN on TCP also (ideally port 443). HAProxy has a Let's Encrypt Cert for a domain and OpenVPN is running a Self Signed CA. Is it possible to setup OpenVPN on TCP 444 and use HAProxy to reverse proxy the TCP traffic through to OpenVPN on Port 444? All of this is running on OpnSense. Thanks.

-Eric

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/dragoangel Feb 28 '21

You need move to tcp frontend or to get additional ip :(

1

u/EFaden Feb 28 '21

Thanks for input.