Hello r/selfhosted
I was looking into hosting a VPN server so that I can securely connect to my home network.
Whilst researching I found this blog post and to me using a VPS as a VPN gateway seems most suitable for my situation.
However I dont understand what the function of HAProxy is in this setup. From my understanding, when you connect to a VPN, you connect to your network using an encrypted tunnel. Why does HAProxy need to forward the incoming traffic when you are already connected to your network?