Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New Installation - OpenVZ - no internet access [resolved]
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

New Installation - OpenVZ - no internet access [resolved]

comebackcomeback Member
edited July 2014 in Help

Hello,

I want to install OpenVZ on my server

I followed this guide:

http://www.dbarticles.com/centos-6-x86_64-openvz-container-virtualization-with-openvz-web-panel/

When I restarts the server, I do not have access to interent.

I can only connect with "KVM IP"

Have you an idea of the problem?

Merci

Comments

  • FrankZFrankZ Veteran
    edited July 2014

    Can you show the contents of your /etc/sysconfig/network-scripts/ifcfg-eth0 file.

    EDIT: you can drop the last few numbers of the IPs, to maintain privacy

  • jarjar Patron Provider, Top Host, Veteran
    edited July 2014

    Edit: Disregard my previous post. I misread. @FrankZ is on the right track. Sounds like problem with interface config.

  • I noticed two things:

    1) IF I put the Kernel it works when I put the OpenVZ kernel that does not work.

    2) When installing virtualizor, it works

    Thank you for your help

    DEVICE="eth0"

    BOOTPROTO="static"

    DNS1="XX.XXX.XX"

    GATEWAY="XX.XXX.XX"

    HOSTNAME="sd-64034"

    HWADDR="0C:C4:7A:05:5B:F4"

    IPADDR="XX.XXX.XX"

    IPV6INIT="yes"

    MTU="1500"

    NETMASK="255.255.255.0"

    NM_CONTROLLED="yes"

    ONBOOT="yes"

    TYPE="Ethernet"

    UUID="ae796df1-8b34-43f4-9600-26d4ac08c686"

  • I found the problem

    I type this command:

    /etc/init.d/iptables stop

    it works

    Why iptables blocks the Internet?

    How to fix this problem?

    thank you

  • Also double check SELinux is disabled
    http://www.cyberciti.biz/faq/howto-turn-off-selinux/

  • @Jack said:

    If I understood, it erases all the rules?

    How to configure iptables after?

  • You can flush the rules with :
    root> iptables -F

    And save it with :
    root> /etc/init.d/iptables save

Sign In or Register to comment.