configure local proxy

    • OMV 2.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • configure local proxy


      I would like to use OMV on a Raspberry Pi 2 behind a local proxy server. I downloaded the image with omv from sourceforge and omv 2.2 runs.
      I tried to setup omv by reading tutorials but all info based on PC-hardware and a specific setup routine where a proxy can easily be put in.

      I think there must be a way to configure proxy without setup program but I have not found it in the web gui.
      Could someone help?

      I have little experience with Linux Mint and Raspbian. Do I have to edit /etc/apt/apt.conf?
      Is there a novice friendly editor?

      Sorry for my english.
    • OMV3 has the ability to configure a proxy via Webgui. But OMV3 is beta. In OMV2 you have to setup it on your own.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • @votdev: great to hear that OMV3 will have "built-in proxy support" :thumbsup:

      @Zonk: I usually add the proxy config to the following files:

      Source Code

      1. http_proxy=http://host:port/
      2. https_proxy=http://host:port/
      3. ftp_proxy=http://host:port/
      4. no_proxy=",local"

      and add a file /etc/apt/apt.conf.d/02proxy with this content:

      Source Code

      1. Acquire::http::Proxy "http://host:port/";
      2. Acquire::ftp::Proxy "http://host:port/";

      of course you need to change host:port to your proxy config ;)

      Most of the proxy requirements should be fulfilled with this. There might be stuff which might need additional config (maybe wget, curl, ...) but most are able to use the config from /etc/environment.
      OMV 2.x - Kralizec // Hardware: HP Microserver N54L, 4GB RAM, 2x3TB WD Red - RAID 1, Sandisk SSD 60GB for system
    • Sorry for my late answer but I hadn't configured email notification so I was waiting for nothing.

      Meanwhile I have created /etc/apt/apt.conf with:

      Source Code

      1. Acquire::http::Proxy "http://host:port/";
      2. Acquire::https::Proxy "http://host:port/";
      3. Acquire::ftp::Proxy "http://host:port/";

      It was a little bit tricky because I'm using a german keyboard and I never used "nano" before. apt-get works now.
      That's what I wanted. Other services shall not reach internet.

      Today I have stumbled about some other issues. I think I open new threads therefore.

    • Meanwhile I figured out that "bananian-update" needs more configuration. In /etc/profile I added as follows:

      Source Code

      1. ### in etc/profile
      2. export http_proxy=
      3. export https_proxy=
      4. export ftp_proxy=
      5. export HTTP_PROXY=$http_proxy
      6. export HTTPS_PROXY=$https_proxy
      7. export FTP_PROXY=$ftp_proxy

      It seems to work.