Proxy configurations for connecting to a server or blob

Proxy configurations for connecting to a server or blob

Version: 2022-11-02
Update: 2022-11-14

Introduction

Domain allowlisting is a selfservice feature that is now available on myDRE. As the name implies, domains on the allowlist can be accessed from within the Workspace (you can request specific domain on the allowlist via the Accountable or the Privileged Member of the Workspace). For domain allowlisting, a proxy needs to be configured. All VMs are now automatically configured to use the proxy. However, some applications require a specific configuration to be added. 

Connect to Server via browser from within the Workspace

  1. Open a VM.
  2. Navigate to Settings in the startmenu > Network & Internet > Proxy > Manual proxy setup.
  3. If you need to connect to another VM in the Workspace, for instance because you have a VM functioning as Galaxy, RedCap server, RStudio Server, you will have to add the IP address of the VM to the exception address box. You can separate the entries with a semicolon (;). You can find the IP address of the VM below the VM (Private IP: xx.xxx.xx).
  4. Make sure the box Don't use the proxy server for local (intranet) adresses is checked.
  5. Do not delete the 169.245.169.245 address: it will make your Z: and I: drive invisible.
  6. Press Save.

Using blob storage

  1. Follow the instructions above.
  2. Add blob.core.windows.net to the exceptions address box.
  3. Press Save.


Manual proxy configurations

VMs are automatically configured to use the proxy, however if this is not the case, please find below how to manually configure the proxy.

Windows VM

  1. Manually configure proxy settings by navigating Settings in the startmenu > Network & Internet > Proxy > Manual proxy setup.
  2. Switch use a proxy server to On.
  3. Enter http://proxy.mydre.org and port 3128.
  4. Add 169.254.169.254 in exception addresses and select Don't use the proxy server for local (intranet) addresses.


Linux VM

Newly deployed Linux VMs do not currently need manual proxy configurations. If you are not able to reach whitelisted domains, please run the commands written below: 
  1. Run the following command or run it as a script:
  1. proxy='proxy.mydre.org:3128'
  2. cat > /etc/environment << EOF
  3. http_proxy="http://${proxy}"
  4. https_proxy="http://${proxy}"
  5. ftp_proxy="http://${proxy}"
  6. no_proxy="localhost,127.0.0.1,169.254.169.254,::1"
  7. HTTP_PROXY="http://${proxy}"
  8. HTTPS_PROXY="http://${proxy}"
  9. FTP_PROXY="http://${proxy}"
  10. NO_PROXY="localhost,127.0.0.1,169.254.169.254,::1"
  11. EOF
  1. Log out of the machine and log back in and configurations should be ready. 

    • Related Articles

    • Linux VMs

      On the myDRE platform different types of Linux virtual machines (VMs) are available. CentOS 7.5 (is reaching its end of life) Ubuntu 20 (for GPU usage) Ubuntu 22 By default, Linux VMs have no connection to the outside world, so cannot be directly ...
    • Blob storage

      Version: 2022-11-14 Updated: 2023-03-25 This service is available to Accountables and Privileged members of a workspace. Blob storage in myDRE is restricted to the context of one workspace What is Azure Blob storage? Azure Blob storage is optimized ...
    • R/RStudio installation using domain allowlisting on Windows VMs

      First version: 2022-08-22 Last version: 2023-12-15 Last change: Added an alternative for installing packages from Github (installation from manually downloaded repository). This is a community effort. The article was created by the anDREa Support ...
    • Proxy configurations Anaconda

      First version: 2022-10-31 Latest version: 2023-11-16 Last change(s): Clarification in the introduction; clarifying instructions; added screenshots. This is a community effort. The article was created by the anDREa Support Team in their spare time. If ...
    • Turn Proxy Off/On on Linux VM

      1. Log in to the Linux VM 2. Write command sudo nano /etc/environment press enter and enter your password 3. comment out all the content that you find in there e.g #http_proxy="http://127.0.0.1:8080" 4. Press ctrl + x to exit, save with y and press ...