LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
Member
 
Registered: Mar 2011
Posts: 32

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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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
Member
 
Registered: Mar 2011
Posts: 32

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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
yes, that may work (you can easily try 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
[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 05:47 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
Open Source Consulting | Domain Registration