LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2010, 03:15 PM   #1
boomer42812
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Rep: Reputation: 0
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

Last edited by boomer42812; 12-28-2010 at 03:24 PM. Reason: Additional information about my system
 
Old 12-28-2010, 05:00 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
What is a contractor proxy?? Other than this thread, the only other references I see on google are about insurance policies.
 
Old 12-29-2010, 08:49 AM   #3
boomer42812
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 12-29-2010, 09:08 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
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.
 
Old 12-30-2010, 08:45 AM   #5
boomer42812
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 12-30-2010, 10:46 AM   #6
boomer42812
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Problem resolved...thanks TobiSGD
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simulate proxy internet connection bjdodo Linux - Networking 4 09-16-2009 07:11 AM
LAN internet connection via proxy Count_Cloppy Red Hat 1 01-26-2007 09:13 AM
internet connection sharing with proxy gentel2277 Linux - Networking 3 10-01-2006 06:15 PM
Internet Connection Problem via proxy siuku Linux - Newbie 3 11-07-2003 08:22 AM
internet connection thru MS Proxy deepakchopra Linux - Networking 0 08-01-2001 09:01 AM


All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration