Hello everyone!
I have an OpenVZ container configured on our Proxmox server with the IP address of 192.168.0.101 using venet.
This is the /etc/network/interfaces on the host system:
For some reason, the container has no access to the Internet. I'm trying to ping 208.67.222.222, 4.2.2.1, etc. and they are not being responded to.
Do you guys see anything wrong with my configuration? Do I need to do something else to make it work? I'm following the Masquerading configuration listed on the Proxmox wiki.
I have an OpenVZ container configured on our Proxmox server with the IP address of 192.168.0.101 using venet.
This is the /etc/network/interfaces on the host system:
Code:
auto lo
iface lo inet loopback
iface eth1 inet manual
iface eth1:0 inet manual
auto vmbr0
iface vmbr0 inet static
address 67.228.113.154
netmask 255.255.255.248
gateway 67.228.113.153
broadcast 67.228.113.159
bridge_ports eth1
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 174.36.174.18
netmask 255.255.255.248
gateway 174.36.174.17
broadcast 174.36.174.31
bridge_ports eth1:0
bridge_stp off
bridge_fd 0
auto vmbr2
iface vmbr2 inet static
address 192.168.0.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '192.168.0.0/24' -o eth1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.0.0/24' -o eth1 -j MASQUERADE
For some reason, the container has no access to the Internet. I'm trying to ping 208.67.222.222, 4.2.2.1, etc. and they are not being responded to.
Do you guys see anything wrong with my configuration? Do I need to do something else to make it work? I'm following the Masquerading configuration listed on the Proxmox wiki.