I'm using meteor and hosting my app on galaxy.meteor.com (Pro)
And I'm integrating with a third party that requires VPN tunnel configuration. Unfortunately galaxy only provide network customization for (Enterprise) containers, which is way out of our budget.
So my idea was to setup a cloud VPN as a third party router, and use it as follows
Galaxy <--(https)req--> VPN <--(tunnel)req--> Third party
Is this possible? and if so, how to do it?
I guess you have to provide a meteor SERVER (backend) connection via VPN to the third party side? Something like a REST API?
So yes, you can do something like your request as suggested.
Checkout "HAPROXY" and / or "remote proxy configuration".
If you take the option of a small cloud server you may run OPNSENSE on that system and configure your HAPROXY and IPSEC tunnel via its web interface.
Update:
Here you get some links how to run AWS VPC (EC2) with Opnsense:
https://docs.opnsense.org/manual/how-tos/installaws.html
https://holdmybeersecurity.com/2017/09/18/setupconfigure-opnsense-router-in-aws-vpc/