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