Comprehensive data protection for all workloads
Post Reply
frankive
Service Provider
Posts: 1092
Liked: 134 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

Surebackup - linux proxy

Post by frankive »

I use SureBackup a lot and everything works like exptected.
But today I want to do some softwaretesting on a linuxserver so i create a new application grou p and virtual lab and also choose "use proxy for internet access port 8080".
In the linux terminal i try to run " export http_proxy=http://192.168.98.2:8080 " but I still cant ping 8.8.8.8
192.168.98,2 is the gateway in production for the linuxserver and it respond to the ping (192.168.98.2 is the proxy in the lab)

What am i missing here?
frankive
Service Provider
Posts: 1092
Liked: 134 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

Re: Surebackup - linux proxy

Post by frankive »

must be some linuxgurus here? :)
AMS
Expert
Posts: 145
Liked: 33 times
Joined: Mar 06, 2012 6:32 pm
Full Name: Ari Saperstein
Contact:

Re: Surebackup - linux proxy

Post by AMS »

Question for you. Is the Veeam Virtual Proxy picking up a DHCP address on the production-facing interface or is it static. Also, which version of B&R is this v7 or v8?
frankive
Service Provider
Posts: 1092
Liked: 134 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

Re: Surebackup - linux proxy

Post by frankive »

The interface is DHCP. It is version 8, with latest patch.
I can confirm the proxy is working since if I use a windows vm and enable proxy in internet explorer it is working as exptected.
tsightler
VP, Product Management
Posts: 6011
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Surebackup - linux proxy

Post by tsightler »

One thing you're missing is that setting the HTTP proxy doesn't have anything to do with being able to ping. Ping happens at a much different level in the IP stack while HTTP proxy happens at the application level. By setting this environment your telling any application that honors this environment setting to send all of it's HTTP requests to the proxy rather than directly to the servers in question. Setting this won't allow you to ping since ping isn't HTTP.

If the application also uses SSL/TLS you'll likely need to also set the https_proxy environment:

Code: Select all

export http_proxy=http://192.168.98.2:8080
export https_proxy=$http_proxy
Also, remember that setting the environment variables impact only your specific session unless you change them in the global environment. There are also some application that simply don't honor these options and instead require you to set proxies via their own config.

But no matter what, you probably won't be able to ping, because these settings don't impact ping.
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Surebackup - linux proxy

Post by dellock6 »

Tom, you could have simply said that ICMP and TCP are two different protocols even if they both use IP as their transport, and HTTP uses TCP :P
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
frankive
Service Provider
Posts: 1092
Liked: 134 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

Re: Surebackup - linux proxy

Post by frankive »

:)

I will try to do dig some more into the apt-get environment to see if I can proxy that traffic through the virtual lab proxy :)
I will post the results as soon as I have them.

Merry Christmas!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 98 guests