+ 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
    Guest

    Join Date
    Jun 2009
    Posts
    3,754
    Thank Post
    1,458
    Thanked 491 Times in 375 Posts
    Rep Power
    0

    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:

    Code:
    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?

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

  2. #2

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,004
    Thank Post
    116
    Thanked 511 Times in 345 Posts
    Blog Entries
    2
    Rep Power
    288
    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 04:32 PM.

  3. Thanks to jinnantonnixx from:

    Rawns (27th June 2013)

  4. #3
    rich_tech's Avatar
    Join Date
    Mar 2011
    Location
    Wales
    Posts
    1,096
    Thank Post
    132
    Thanked 140 Times in 122 Posts
    Rep Power
    66
    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 10:40 PM.

  5. Thanks to rich_tech from:

    Rawns (27th June 2013)

SHARE:
+ 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
  •