I am evaluating PROXMOX with two NICs:
Nic 1 - private ip address range
Nic 2 - public ip address range
With the help of SQUID and Nic 2 the outcoming HTML request are routed to the OpenVZ VMs - reverse proxy.
My problem.
Nic 1 with gateway and OpenVZ VM with venet works fine - VM can contact the Internet, but the external Nic 2 is available from extern.
Nic 2 has a gateway, the host is accessible from extern. The OpenVZ VM can not contact the internet.
Nic 1 and Nic 2 with different gateway doesn' t work. The host is accessible from extern, but the OpenVZ VM can not contact the internet.
What is wrong with this configuration?
With best regards
Peter
Nic 1 - private ip address range
Nic 2 - public ip address range
With the help of SQUID and Nic 2 the outcoming HTML request are routed to the OpenVZ VMs - reverse proxy.
My problem.
Nic 1 with gateway and OpenVZ VM with venet works fine - VM can contact the Internet, but the external Nic 2 is available from extern.
Nic 2 has a gateway, the host is accessible from extern. The OpenVZ VM can not contact the internet.
Nic 1 and Nic 2 with different gateway doesn' t work. The host is accessible from extern, but the OpenVZ VM can not contact the internet.
What is wrong with this configuration?
With best regards
Peter
PHP:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.123.210
netmask 255.255.255.0
gateway 192.168.123.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
1iface vmbr1 inet static
address 82.125.165.125
netmask 255.255.255.240
gateway 85.125.165.113
bridge_ports eth1
bridge_stp off
bridge_fd 0