Page 1 of 1

Accessing the internet throguh a proxy with authentication

Posted: 29 Apr 2010, 15:38
by Ryan_Cooper
I'm hoping someone can help with this.

I have a CentOS Linux Server setup which needs to access the internet to receive information from other servers as this server I have setup is a Network Monitoring Server suing Nagios.
My problem is that To access the internet we have to go through a proxy which requires authentication (user name & pass).

how to I get the server to connect through the firewall using authentication without me having to enter in a user name & password every time it tries to connect to other servers outside our network

Re: Accessing the internet throguh a proxy with authenticati

Posted: 03 May 2010, 10:43
by rustypup

Code: Select all

export http_proxy=http:/user:pwrd@proxyhost:proxyport
export ftp_proxy=http:/user:pwrd@proxyhost:proxyport
adding these commands to a script file under /etc/profile should see these lines executed at boot...