openvz.org mirrorlist only accessible from host node, not guests/VPSs

Discussion in 'Questions and Answers' started by ICPH, Jul 18, 2018.

  1. ICPH

    ICPH Member

    170
    2
    Aug 24, 2013
    Hello,

    i found that OpenVZ 6 host node can access openvz repository.

    # curl -I http://download.openvz.org/kernel/mirrors-rhel6-2.6.32
    # host download.openvz.org
    download.openvz.org has address 185.231.241.69
    # ping 185.231.241.69
    works

    but from any VPS acros various IP ranges i can not ping or run host command. It timeout. Yum on OpenVZ VPS says:
    I was checking my firewall on host node if the IP 185.231.241.69 is not blocked:
    iptables -L|grep 185.231.241.69
    ipset list|grep 185.231.241.69
    cat /etc/hosts.deny
    but nothing

    Other hosts are reachable OK from VPS's... Do you have any idea to fix this, except disabling repository in /etc/yum.repos.d/openvz.repo and then "yum clean all;yum update"

    I was thinking if i can index mirror list somewhere on host node and so VPSs use local IP to get list of mirrors, if that can help, but not found any tutorial on this.

    Thank you