+ Post New Thread
Results 1 to 3 of 3
*nix Thread, Proxy Authentication in Ubuntu? in Technical; Before I start, apologies if this seems like a rather basic question, but this is the first time properly using ...
  1. #1

    Join Date
    Jun 2009
    Thank Post
    Thanked 493 Times in 376 Posts
    Rep Power

    Question Proxy Authentication in Ubuntu?

    Before I start, apologies if this seems like a rather basic question, but this is the first time properly using Ubuntu, and Google results have thrown me in all different directions!

    I have installed Ubuntu (13.04) in work but am behind a proxy I have to authenticate to. I've set up the proxy details in the network settings but cannot find anywhere to add my credentials. I did did some googeling and one result pointed me tol /etc/apt/apt.conf and I had to add my proxy manually along with my username and password like so:

    Acquire::http::proxy "http://username:password@proxyserver.co.uk:80/";
    Is this correct? I have to authenticate with a domain login and need to include the domain too. Will this work?

    Acquire::http::proxy "http://DOMAIN\username:password@proxyserver.co.uk:80/";
    Thanks for the help.
    Last edited by Rawns; 26th June 2013 at 04:40 PM.

  2. #2

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    In the Calamatorium.
    Thank Post
    Thanked 531 Times in 356 Posts
    Blog Entries
    Rep Power
    Correct, but that's just for your package manager (apt). It means your system can install and update itself through the proxy.
    By the way, my 'Proxy' in the config line has a capital P, I don't know if that makes a difference.

    In Ubuntu, click the Dash home bitton in the top-left and type proxy. Click the Network icon and set up your proxy settings here, either setting the proxy as above or entering a PAC file URL. Click the 'apply system wide' button. This will percolate through to other apps and Firefox.
    Last edited by jinnantonnixx; 26th June 2013 at 05:32 PM.

  3. Thanks to jinnantonnixx from:

    Rawns (27th June 2013)

  4. #3
    rich_tech's Avatar
    Join Date
    Mar 2011
    Thank Post
    Thanked 149 Times in 130 Posts
    Rep Power
    I had to use CNTLM to get through our NTLM based proxy with our LEA on a linux box before, sometimes PAC files and the addnig of that line to the various config files just wont work.

    Google CNTLM and it will set you on that path easy enough if you have problems with the Acquire path, though it does depend on how you connect to the web with your proxy/LEA.
    Last edited by rich_tech; 26th June 2013 at 11:40 PM.

  5. Thanks to rich_tech from:

    Rawns (27th June 2013)

+ Post New Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts