Hello Proxmox community,
I’m facing a complex networking issue and would appreciate guidance from anyone experienced with routed public IPs + VPN + Proxmox.
I have:
WireGuard tunnel between:
Proxmox bridges:
Goal:
Expose Proxmox VMs directly to the internet using the extra Cloudzy public IPs and allow SSH/access via those IPs (basically: VPS routes public IP → WireGuard → Proxmox → VM).
On VPS:
ip route add 144.172.107.119 via 10.50.0.2
ip route add 144.172.115.159 via 10.50.0.2
On Proxmox:
net.ipv4.ip_forward=1
I want something similar to Hetzner/OVH routed IP behavior:
Any example configs or diagrams would be hugely appreciated.
Thanks in advance — this has been looping me for days.
— Binayak
I’m facing a complex networking issue and would appreciate guidance from anyone experienced with routed public IPs + VPN + Proxmox.
Current Setup
I have:
- Local server: Dell PowerEdge running Proxmox (behind NAT / LAN)
- Remote VPS (Cloudzy):
- Main public IP: 144.172.116.81
- Extra routed public IPs:
- 144.172.107.119
- 144.172.115.159
WireGuard tunnel between:
- Cloudzy VPS WG IP: 10.50.0.1
- Proxmox WG IP: 10.50.0.2
Proxmox bridges:
- vmbr0 → main LAN
- vmbr1 → internal VM network (10.10.10.0/24)
Goal:
Expose Proxmox VMs directly to the internet using the extra Cloudzy public IPs and allow SSH/access via those IPs (basically: VPS routes public IP → WireGuard → Proxmox → VM).
What I Tried
- WireGuard tunnel works (Proxmox ↔ VPS reachable).
- Added routed IPs on Cloudzy pointing to WireGuard.
- Enabled IP forwarding on both sides.
- Added routes like:
On VPS:
ip route add 144.172.107.119 via 10.50.0.2
ip route add 144.172.115.159 via 10.50.0.2
On Proxmox:
net.ipv4.ip_forward=1
- Assigned private IPs to VMs (10.10.10.x) and attempted DNAT / 1:1 NAT.
- Also attempted bridging public IP directly to VM.
Problems
- Routing loops appear.
- Sometimes Proxmox loses access over VPN.
- VM can’t reach internet properly.
- Public IP does not respond when assigned to VM.
- After manipulating routes (especially 10.50.0.0/24), Proxmox VPN access drops.
- Traffic seems to bounce between WG and vmbr bridges.
What I’m Trying to Achieve
I want something similar to Hetzner/OVH routed IP behavior:
- Cloud VPS acts as gateway
- Extra public IPs forwarded to Proxmox
- Each VM gets its own public IP
- No port forwarding — real public IP per VM
- SSH directly to VM via public IP
Questions
- Should I be using 1:1 NAT or true routed IPs + bridge?
- Is Linux policy routing required here?
- Should VMs use Cloudzy gateway or Proxmox as gateway?
- What is the cleanest architecture for this setup?
- Has anyone successfully done:
VPS → WireGuard → Proxmox → VM (public IP)?
Any example configs or diagrams would be hugely appreciated.
Thanks in advance — this has been looping me for days.
— Binayak