Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Newbie
    Join Date
    Mar 2010
    Posts
    5

    Default Unable to download packages - Behind Proxy

    Hi,
    I have installed Untangle Dedicated server. I am able to browse any websites by inserting the Proxy settings in browser.
    When I try to download any packages it takes me to all the steps. When I click Download , Immedaitely it says

    Thank You!
    You may now close this windows Or continue Shopping.

    As such nothing is happening. I suspect i need to do something in Proxy.
    Can anyone help me to set this up .. How can I insert proxy in the system as here internet will not work without manually entering proxy settings. I need step by step instructions ..

    Anybody helps will be highly appreciated .
    Last edited by haneefputtur; 03-30-2010 at 02:31 AM. Reason: Update Actual Error

  2. #2
    Untangle Ninja
    WebFooL's Avatar
    Join Date
    Jan 2009
    Location
    Sweden (Eskilstuna)
    Posts
    5,279

    Default

    Hi and welcome to the forum,

    A edge firewall that needs to connect via proxy out?

    But try what this blog post suggests.
    http://blog.mypapit.net/2006/02/how-...ntudebian.html

    Edit your /etc/bash.bashrc file as root.
    Put these line at the end of your /etc/bash.bashrc file :
    export http_proxy=http://usernameassword@proxyserver.netort/
    export ftp_proxy=http://usernameassword@proxyserver.netport/

  3. #3
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,412

    Default

    It doesn't work don't bother yourself. You simply cannot get apt to run reliably via a proxy. And, in the cases where you can get apt to cooperate you're still stuck. None of my environment hacks have adjusted all command tools to use a proxy by default. So the update scripts won't fire correctly.

    In short, Untangle won't work behind a proxy. Get it a normal internet connection.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  4. #4
    Newbie
    Join Date
    Mar 2010
    Posts
    5

    Default Thanks for Replying - Problem still not resolved

    First of all thanks for your replies.

    Hi WebFooL, I tried your suggestions.. it doesn't work for me. It gives me the same message.

    As per sky-knight, I cannot use untangle? As our whole campus is using proxy for browsing ... I cannot connect directly to internet

    Is there any alternative options if anybody can think of ???

  5. #5
    Seb
    Seb is offline
    Untangle Junkie Seb's Avatar
    Join Date
    Jul 2007
    Posts
    82

    Default

    On the Debian box, the proper lines would go /etc/environment, not /etc/bash/bashrc, and you should not *export* anything:

    http_proxy=http://username:password@proxyserver.net:port
    ftp_proxy=http://username:password@proxyserver.net:port

    It should solve most of your problems.

    Cheers,

    --Seb

  6. #6
    Newbie
    Join Date
    Mar 2010
    Posts
    5

    Default Still Same...

    Thanks Seb , for your time.
    I tried this still no luck

  7. #7
    Seb
    Seb is offline
    Untangle Junkie Seb's Avatar
    Join Date
    Jul 2007
    Posts
    82

    Default

    I'm afraid, and should have mentioned earlier, that this most likely would only work after a reboot: as much as I *hate* recommending to reboot on *NIX systems, there is still no easy way to push environmental changes into all running processes.

    --Seb

  8. #8
    Newbie
    Join Date
    Mar 2010
    Posts
    5

    Default No Luck

    Hi,
    I tried rebooting .. still no luck.....

    Thanks for your time.

  9. #9
    Seb
    Seb is offline
    Untangle Junkie Seb's Avatar
    Join Date
    Jul 2007
    Posts
    82

    Default

    Then I will have to second skynight's suggestion; manually getting packages from the command-line using apt-get _would_ work, but is not really practical.

    Cheers,

    --Seb

  10. #10
    Newbie
    Join Date
    Mar 2010
    Posts
    5

    Default

    I think i should give up wasting time for this....

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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

SEO by vBSEO 3.6.0 PL2