Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

FAQ

349 bytes added, 02:20, 18 October 2012
My container cannot access the internet. What should I do?
If you can ping the host node but receive an error similar to:
<pre>[root@test /]# ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.From 192.168.1.1 icmp_seq=1 Destination Host Prohibited</pre>
then likely the host node has an active firewall. Running the command  <pre>[root@host ~]# /etc/init.d/iptables stop iptables: Flushing firewall rules: [ OK ]iptables: Setting chains to policy ACCEPT: filter [ OK ]iptables: Unloading modules: [ OK ]</pre> will turn it off. If that works, then you know iptables firewall needs to be configured.
3
edits