Apologies in advance if this sounds a bit newbie as I am still a bit new to networking side of things. I wanted to get an an opinion if this solution would work.
I have two networks Alpha & Gamma. Both networks cannot be directly connected due to policies. But I have a service in Alpha that needs to talk to Gamma (both ways).
So there is a another network, Beta that is trusted by Gamma and is also allowed to connect to Alpha from a policy perspective.
So I was thinking to just do a simply HAProxy hosted in Beta who will route traffic from an ip in Alpha to a specific ip in Gamma (and vice versa). A VPN could also help make this more flexible than specific IPs but I only have specific IPs to connect at the moment (<10) and not in the hundreads.
The proxy would handle both HTTP(80) and HTTPS(443) traffic, in addition to some custom TCP port traffic.
Was there a better solution to this?