mirrorlist only accessible from host node, not guests/VPSs

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

  1. ICPH

    ICPH Member

    Aug 24, 2013

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

    # curl -I
    # host has address
    # ping

    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 is not blocked:
    iptables -L|grep
    ipset list|grep
    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