TL;DR: How do I hide the Proxmox web GUI and SSH access on rented OVH server to be accessible only from VPN so I don’t get instagibbed by bots (or give up and go ESXI)?
I recently rented out an OVH baremetal server that I installed Proxmox on and planning on migrating my random kimsufi boxes onto the hypervisor for cost reasons (and also the weird baremetal restore setup plan), but I’m having issues trying to make it secure and hiding the SSH and Web GUI panel behind a NAT Firewall inside of the internal network.
Yes. I am fully aware that failure of that VM will cause the entire system to be inaccessible. I have full KVM and SOL access to the server in case of a failure like that.
I have followed OVH’s Configuring pfSense network bridge documentation on how to setup pfSense for their network, as well as following Lawrence Systems’ pfSense OpenVPN configuration guide and following the steps from Proxmox Staff on how to expose the inner management into local vm network for the same purpose that I want.
Now, I can access the management from within a VM and ping every other VM on the local network, but when I use OpenVPN I can’t access the internal management or ping it, but I can access everything else on the LAN that uses dynamic IP. Neither me or my friends can figure out what’s wrong, because everything is supposed to be functioning correctly.
I tried push “route 10.69.5.0 255.255.255.0”, tried both tun and tap, added rules to allow all traffic and even tried to make a second interface and bridge them into a lan with no luck whatsoever. Friend has a XCP-NG hypervisor with OVH as well with the same exact setup I’m trying to replicate, and other than the IP addresses in the pfSense configs, our configs completely match which makes the whole thing even more headscratchy.
10.69.5.254 is the management interface, 5.10 is popos livecd used for configuration and 1 is pfsense. Happens on both Mac and Windows as well.
Pulling my hair out for two days straight and I can’t figure it out. Even got to the point where I had to reinstall proxmox from scratch and restore backups because somehow installing ifupdown2 broke it so hard it didn’t even want to go to grub.
I’m honestly out of ideas what to do or if OVH’s Proxmox image is broken in some way causing the issues.