Turn Proxy Off/On on Linux VM

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=""

4. Press ctrl + x to exit, save with y and press enter

5. Do the same thing with sudo nano /etc/apt/apt.conf.d/proxy.conf comment out all the content,  press ctrl + x to exit, save with y and press enter.

6. Restart the Linux VM

7. Write command: sudo apt-get update to check that Internet is available 

8. Proxy Off, done!

9. To turn Proxy back On, delete the "#".

    • Related Articles

    • 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 ...
    • 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 ...
    • Install Browser on Linux

      Introduction Until now, Linux users have primarily relied on the command line for their browser access. For effortless web browsing on your Linux virtual machine, a single click installation of Firefox is the optimal choice. We have considered ...
    • 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 ...
    • Managing and monitoring your VM

      From within the myDRE web portal, you can find a Manage and monitor VM menu that provides links directly to your VM in the Azure portal and Azure app. Within the Azure portal or app, you can start, stop and reset the VM, as well as analyze its ...