Linux 在显式代理前面设置透明代理

Linux 在显式代理前面设置透明代理,linux,ubuntu,proxy,squid,Linux,Ubuntu,Proxy,Squid,我需要在Ubuntu 14.04服务器上运行一组应用程序,该服务器位于公司代理的后面。不幸的是,这些应用程序不支持公司代理 我听说使用本地透明代理(如Squid)可能实现这一点。是这样吗?我该怎么做 我也尝试过proxychains,但没有成功: $ proxychains curl http://google.com ProxyChains-3.1 (http://proxychains.sf.net) |DNS-request| google.com |D-chain|-<>-

我需要在Ubuntu 14.04服务器上运行一组应用程序,该服务器位于公司代理的后面。不幸的是,这些应用程序不支持公司代理

我听说使用本地透明代理(如Squid)可能实现这一点。是这样吗?我该怎么做

我也尝试过proxychains,但没有成功:

$ proxychains curl http://google.com
ProxyChains-3.1 (http://proxychains.sf.net)
|DNS-request| google.com 
|D-chain|-<>-147.204.6.136:8080-<><>-4.2.2.2:53-<--denied
|DNS-response|: google.com does not exist
curl: (6) Could not resolve host: google.com
$proxychainshttp://google.com
ProxyChains-3.1(http://proxychains.sf.net)
|DNS请求| google.com
|D链|--147.204.6.136:8080--4.2.2.2:53-