In Explicit proxy deployment on linux client user is performing wget as following and getting failed: Connection timed out error.
$ wget http://example.com
--2022-04-07 10:58:34-- http://example.com/
Resolving example.com (example.com)... 18.104.22.168
Connecting to example.com (example.com)|22.214.171.124|:80... failed: Connection timed out.
wget output shows that client is performing DNS resolution and trying to connect to resolved IP address 126.96.36.199 of OCS (example.com) and not getting any response hence it is getting failed: connection timed out. This indicate that linux client is not configured with correct explicit proxy.
If linux client would have been properly configured with explicit proxy then linux client should not perform DNS resolution and it should send request to proxy and then proxy should perform DNS resolution on behalf of client.
Once client is configured with correct explicit proxy, issue should get resolved.
Note: For domain added in Explicit proxy bypass list DNS resolution will be performed by client.
Use following wget or curl command to send request via proxy (i.e. 10.0.80.80 is proxy IP)
$ wget -e http_proxy=10.0.80.80:8080 http://example.com
--2022-04-07 11:44:51-- http://example.com/
Connecting to 10.0.80.80:8080... connected.
Proxy request sent, awaiting response
$ curl -x "http://10.0.80.80:8080" http://example.com