LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need to add a contractor proxy that will allow internet connection (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-add-a-contractor-proxy-that-will-allow-internet-connection-852878/)

boomer42812 12-28-2010 02:15 PM

Need to add a contractor proxy that will allow internet connection
 
I am trying to complete a update from Etch to Lenny but I am currently unable to access the internet via my debian server. I have determined I need to point to a contractor proxy for security reasons, however I do not know where to add the contractor proxy IP address.

Can anyone tell me what config file I need to modify?

Thanks in advance

Ron

acid_kewpie 12-28-2010 04:00 PM

What is a contractor proxy?? Other than this thread, the only other references I see on google are about insurance policies.

boomer42812 12-29-2010 07:49 AM

Because of security reasons my server is not allowed to connect to the internet directly. I must be routed through another server (contractor proxy) which has been established to allow traffic in and out of the network.

TobiSGD 12-29-2010 08:08 AM

Add this to your /etc/apt/apt.conf :
Code:

Acquire::http::Proxy "http://proxy-ip:proxy-port";
Replace proxy-ip with th IP of your proxy and proxy-port with the port your proxy is using.

boomer42812 12-30-2010 07:45 AM

Ok I must have missed something because it doesn't seem like I have a "apt.conf" file in my apt directory

140:/etc/apt# ls
apt.conf.d secring.gpg sources.list trustdb.gpg trusted.gpg trusted.gpg~

Should I just create the file and add the line provided? Are there any additional files I need to add to other directories for this to work?

Thanks for the reply

boomer42812 12-30-2010 09:46 AM

Problem resolved...thanks TobiSGD


All times are GMT -5. The time now is 09:00 PM.