LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-17-2005, 06:43 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Setup proxy


I want to connect the internet through our windows proxy server , I usually config it on the xwindows , how can I config it on the shell ? I use RH 8 linux . thx
 
Old 01-18-2005, 06:23 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Create a new file called proxy.sh in the directory /etc/profile.d/, containing these two lines:

HTTP_PROXY="http://mycache.mydomain.com:3128"
export HTTP_PROXY

If you need to specify the user "proxy-user" with the password "qwerty" it would look like this:

HTTP_PROXY="http://proxy-user:qwerty@mycache.mydomain.com:3128"

The next time that you login this variable will be there for those programs that use it.
 
  


Reply



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
proxy setup tsaravan Linux - Networking 6 08-19-2005 11:04 AM
setup a secure proxy darkleaf Linux - Security 2 07-13-2005 07:58 PM
Apt-proxy setup pe2338 Debian 3 05-04-2004 12:38 PM
proxy server setup help archish Linux - Networking 6 01-25-2004 11:12 PM
proxy setup KozyKitten Linux - Newbie 7 06-17-2003 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:56 AM.

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
Open Source Consulting | Domain Registration