OpenVZ Forum


Home » General » Support » How to access internet in container (container internet )
Re: How to access internet in container [message #51872 is a reply to message #51870] Thu, 05 February 2015 01:33 Go to previous message
shu7734 is currently offline  shu7734
Messages: 2
Registered: January 2015
Junior Member
because i excute command
#iptables -A FORWARD -s 10.0.0.0/24 -j ACCEPT
#iptables -A FORWARD -d 10.0.0.0/24 -j ACCEPT

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 
ACCEPT     all  --  10.0.0.0/24          anywhere            
ACCEPT     all  --  anywhere             10.0.0.0/24   


the first is default policy
i forget it....

i delete the policy ,
now,is worked!

thanks!
 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: Is OpenVZ as easy to use as cPanel?
Next Topic: Default status of 'root' in container?
Goto Forum:
  


Current Time: Fri Sep 06 04:52:03 GMT 2024

Total time taken to generate the page: 0.06239 seconds