I have ESXi in my LAN. All traffic from LAN is passed through a proxy. After installing Centos (network card in bridge)(VM on ESXi) I modified yum.conf for using proxy
proxy=http://myproxy:3128/
Executing yum update
gives me error:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error >was 14: HTTP Error 403 : http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os Error: Cannot find a valid baseurl for repo: base
Next set up proxy globaly by executing:
export http_proxy=http://myproxy:3128/
It also did not help :/
I'm wondering what is a problem ....any steal box behind proxy with set up proxy in yum.conf works perfectly. Could I missed some ESXi configuration for using it behind proxy (is there a way to set up proxy in ESXi ?? or i'm talking total nonsense)
I can log using ssh from my LAN to VM.