Reverse Proxy??

NeonGod

New Member
Apr 19, 2018
4
0
1
46
I need some advice on/if this is possible..

What i want to achieve is this: i got a server from hetzner.. it has 1 ipv4 and /64 ipv6..
tbh i know jack of ipv6 so i would like to stick with ipv4 but im willing to learn some new stuff if needed.. :)

i wanna be able to run several servers in my proxmox-ve behind NAT
server1.MyFQDN.net goes to server1 vm in proxmox-ve on ip 192.168.1.2
minecraft.MyFQDN.net goes to minecraft vm in proxmox-ve on ip 192.168.1.3
and so on..
i want it to appear like they are each connected to the internet and access to all 65535 ports on each server..

Could this be achieved by installing a reverse proxy like squid on my ipv4 running my proxmox-ve and have it proxy it out to my nat ips ? is it posible at all ?

or should i go for something like: all my vm's get a ipv6 and then make a ipv4toipv6 proxy on my ipv4 ? can i do that with squid ??

Any advice?
 
for http(s) traffic this can work, for all other traffic (e.g. ssh/etc.) this will not work, since nginx cannot distinguish for which domain this traffic comes (this only works for http(s))
 
i went with Squid to start out.. but later i switched to HAProxy and it's working great :)

Thanks for the reply's :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!