Let’s First Understand the Setup that the Client have:
The Client uses SafeSquid-SWG as the only medium to access the internet. which means that the user cannot access internet if he has not set Proxy Setting in his Internet Browser (can be anything Chrome. Firefox, Brave etc)
As per their Firewall Rule No IP can access internet other than SafeSquid IP, Which also means that even the ping from a client machine to a Internet Service will not work.
This is kind of Stringent Network Setup that the Client has.
For Applications like Browser They Support HTTP Proxy and do provide a Option to Set the Proxy Details.
Some Application does not have such Options in them, they either use the System Wide Proxy or Support the Proxy Setting provided in Environment Variables.
Same ways if we want to use git command we need to explicitly add/specify http_proxy and https_proxy Environment Variables .
Git and Apt-Get Command honours Proxy Environment variable and can use the Proxy to connect to internet
Same ways we added the Proxy Environment Variables in the client machine which uses Linux OS. and it solved their problem.
To Set Proxy Environment Variables on Linux OS:
If Proxy Does not Require Authentication:
If Proxy Requires Authentication Then:
Note: if password or username contains @ use below
Note: There are applications that just does not support proxy and which not work in such a Stringent Network Setup.