Google earth with and without a proxy

I'm using google earth on a Linux. I need to go through a proxy to get to the internet so I start google-earth like this

export http_proxy=
google-earth

And it works fine. However, I need need to pull a KML file from a server on an internal network that I cannot access through this proxy. This example is similar. When I then open the KML file that says 'pull from this server,' google-earth cannot find the server. If I start google-earth without setting http_proxy I can access the server but not the internet (so I can't pull google-earth data)

From what I've found I can't tell google-earth when to use the proxy selectively. The only solution I can think of is to forward a port that isn't 80, however I would like to avoid this if possible.

EDIT: It seems that google-earth ignores the no_proxy environmental variable.

1 Answer

This should do the trick.

export no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16

Add whatever you need to the no proxy export line.

Disclaimer - I'm not sure if Google Earth respects the no_proxy variable or not.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like