Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Proxy settings in OEL 5.7 running in VMWare ESXi 4.1

Trska526823Sep 8 2011 — edited Sep 9 2011
Hi.

I am newbie to Linux. And I have problems with proxy settings in OEL 5.7, exactly when authentication is reqiured.
When trying connection from Firefox it works fine - the browser asks for user/passwd. There is possibility to choose
that browser should use system proxy setting. In that case, although user/passwd is set for proxy in the system,
the browser asks for the user/passwd again. And I guess it should not ask in that case.

And when I try connection from command line:
nc -vz linux-update.oracle.com 443*
it returns:
nc : connect to linux-update.oracle.com port 443 (tcp) failed: Connection refused*

Better is commad:
nc -X connect -x proxy_server:port -vz linux-update.oracle.com 443*
it returns:
nc: Proxy error: "HTTP /1.0 407 Proxy Authentication Required"*
But why is necessary to enter proxy server again and why it ignores user/passwd from the system proxy setup?

I did settings in Unbreakable Linux Network Configuration as well but id doesn't take effect.

I made several experiments with env variables proxy_user, PROXY_USER, proxy_password, PROXY_PASSWORD,
http_proxy, HTTP_PROXY, https_proxy and HTTPS_PROXY too, but without success.

When we went through the log files on proxy server it seems it (OEL) doesn't try to authenticate at all.

The only way, how to connect with nc* command is to make an exception for my IP address
on proxy server not to request authentication. But I still have to enter " -x proxy_server:port".

Has anyone experience with that behaviour? I have to mention that OEL runs as a VM under VMWare.

Regards
Tomáš
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2011
Added on Sep 8 2011
4 comments
478 views