KB10069 How to route network traffic through proxy

KB ID: 10069

Product: Backup & Recovery

Version: 5.0.0

Published: 2022-02-15

Last modified: 2022-03-01

Problem

I want to utilize proxy to route network traffic through it.

Solution

Edit the vprotect.env file which is located in
/opt/vprotect/vprotect.env

Originally this file should look like the one below

# =================================================================== # This is environment variables file used by the vprotect-node # # Called From: vprotect-node.service # =================================================================== # Variable for http proxy #http_proxy="" # Variable for https proxy #https_proxy="" # Variable for no proxy #no_proxy="localhost,127.0.0.1"

Uncomment the following lines and enter the correct proxy address

http_proxy="proxy.address:8080" https_proxy="proxy.adress:8080" no_proxy="localhost,127.0.0.1"

Make sure to change proxy.address to the address of Your proxy, it can be either IP address or FQDN. Also set the correct port, in the example above it is 8080

The vprotect.env file after modification should look like this

# =================================================================== # This is environment variables file used by the vprotect-node # # Called From: vprotect-node.service # =================================================================== # Variable for http proxy http_proxy="proxy.address:8080" # Variable for https proxy https_proxy="proxy.address:8080" # Variable for no proxy no_proxy="localhost,127.0.0.1"

After modifying the file You need to restart the vprotect node and server to apply the changes