LinuxQuestions.org
Visit Jeremy's Blog.
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 03-16-2019, 01:39 PM   #1
ghpradeep
LQ Newbie
 
Registered: Mar 2011
Posts: 29

Rep: Reputation: 0
how to configure http_proxy in linux with domain name


Hello

I want to configure http_proxy on my linux box to access internet. I have domainname username and password to access internet with proxy server name and port.

I am looking for option how to set domain name in http_proxy command to access internet.

for example

domain name: test
username: amit
password: amit@123
proxy server ip address: 10.120.100.2
port: 84

please help me with command.
 
Old 03-16-2019, 01:45 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,070

Rep: Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132
i do not really understand, but as far as I know you don't need to set domain name at all.
 
Old 03-16-2019, 01:51 PM   #3
ghpradeep
LQ Newbie
 
Registered: Mar 2011
Posts: 29

Original Poster
Rep: Reputation: 0
when i put proxy setting on my windows machine and try to access internet. i prompt me for authentication. I used domainname\username and password for authentication.

I thought I have to use same thing while accessing internet from linux client.

we can use below example to access internet ?

export http_proxy=http://USERNAME:PASSWORD@proxy-server.mycorp.com:3128/

Last edited by ghpradeep; 03-16-2019 at 01:53 PM.
 
Old 03-16-2019, 02:13 PM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,070

Rep: Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132
yes, that may work (you can easily try it).
 
  


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
[SOLVED] http_proxy error call_krushna Linux - Server 1 04-04-2013 12:48 AM
wget is using not the proxy I just set in http_proxy eantoranz Linux - Software 8 10-10-2012 09:08 AM
Elusive http_proxy variable elliot01 Linux - Software 3 01-16-2012 10:59 AM
problem in setting http_proxy environment variable pdwivedi Linux - Networking 1 01-13-2011 08:09 AM
How to export http_proxy when username contains an @ symbol? Funkster Linux - Networking 6 11-19-2008 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 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