epcim
11/18/2016 - 9:39 AM

ubuntu debian apt conf proxy

ubuntu debian apt conf proxy

# apt.conf - proxy and local overrides
    Acquire::http::Proxy "http://192.168.0.110:3142";
    APT::Get::AllowUnauthenticated "true";
    Acquire::http::proxy::mas-01 "DIRECT";
    
    
# alternative
    Acquire
    {
      http {
        Proxy "http://192.168.0.110:3142";
        Proxy::192.168.2.81:9876 "DIRECT";
      }
    }