[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: apt-get




> Плиз как настроить сабж для работы за фаерволом через прокси
> напрямую мир не виден.

/etc/apt/apt.conf:

Acquire
{
  // HTTP method configuration
  http
  {
    Proxy "http://your.proxy.ru:8080";;
  };

  ftp
  {
    Proxy "ftp://your.proxy.ru:8080/";;

    /* Required script to perform proxy login. This example should work
       for tisfwtk */
    ProxyLogin
    {
       "USER $(PROXY_USER)";
       "PASS $(PROXY_PASS)";
       "USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
       "PASS $(SITE_PASS)";
    };

    /* Passive mode control, proxy, non-proxy and per-host. Pasv mode
       is prefered if possible */
    Passive "true";
    Proxy::Passive "true";
  };

};



Reply to: