Hi,
I have Centos 6.2. I have been given the Proxy server IP address
I have to download pkgs using wget . if i use the IPaddress in browser it works fine. but if i use on shell it doesn't.
I had setup the variable http_proxy=http://172.20.3.16:8080 then i tried to wget . i get the block page error. I am not sure why it is happening. Below are the logs and the routes of the machine. I am able to ping the proxy ip address and telnet the port
[root@DEV-HMAERS1 download]# wget
http://mirror.centos.org/centos/6/os...el6.x86_64.rpm
--2013-07-19 06:45:48--
http://mirror.centos.org/centos/6/os...el6.x86_64.rpm
Connecting to 172.20.3.16:8080... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location:
http://172.20.3.19:15871/cgi-bin/blo...sion=738201989 [following]
--2013-07-19 06:45:49--
http://172.20.3.19:15871/cgi-bin/blo...sion=738201989
Connecting to 172.20.3.16:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1535 (1.5K) [text/html]
Saving to: âblockpage.cgi?ws-session=738201989â
100%[==================================================================================================== ========================================================>] 1,535 --.-K/s in 0s
2013-07-19 06:45:49 (239 MB/s) - âblockpage.cgi?ws-session=738201989â
Routes:
[root@DEV-HMAERS1 download]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.20.9.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
0.0.0.0 172.20.9.1 0.0.0.0 UG 0 0 0 eth0
Thanks,