I recently changed ISPs in order to take advantage of much higher speeds. The downside is that the new ISP has a double NAT between me and the internet, which has effectively eliminated any possibility of doing port forwarding like I did with the original service. Previously, I simply forwarded ports 443 and 902 from my DSL modem/router to the machine hosting my VMs, and everything was groovy. Now, that’s not possible.
So, I bought a cheap Linode instance, loaded it up with OpenVPN-AS and HAProxy. OpenVPN is working beautifully, and I have successfully configured HAProxy to forward SSH and HTTP. But I can’t seem to get it to properly forward the ports for VMWare server. Here’s what I have so far:
bind 126.96.36.199:8443 ssl crt /etc/ssl/private/my.pem
bind 188.8.131.52:902 ssl crt /etc/ssl/private/my.pem
server theserver 172.27.232.61:4443 weight 1 maxconn 10240 check
server theserver 172.27.232.61:902 weight 1 maxconn 10240 check
I’m confident that HAProxy is up for the job - but I’m struggling with how to configure it to do so. With the above configuration, I get an “HTTP error 200” - which is odd, since 200 is “OK”.
Any ideas on how I can fix this?