Virtual Router

vzfanatic

Active Member
Jul 22, 2008
67
0
26
Has anyone created such a thing?

I'm trying to use private ip's with my virtual machines, and its not working well.. ip's like 10.1.1.x .. anyway, this whole IP and addressing I would like to understand more, is there more documentation or description of how to use it?

Would the docs at openvz apply to proxmox also?
 
Normally, PVE servers are behind a firewall. So using private ips is just a matter of configuring your firewall.

You can also do snat (masquerading) with iptables, something like:

Code:
iptables -t nat -A POSTROUTING -s 10.1.1.xx -j SNAT --to-source your-ip-address
 
I tried changing the public ip's to private ip's and they wouldn't connect..

I am behind a hardware firewall.. just want to use private ip's to save public ones..

Cheers Dietmar, you guys rock!
 
If you use private IP you need to enable MASQUERADING/SNAT somehow - either on your firewall or using iptables
 

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!