Sample Header Ad - 728x90

Connect to internet through socks proxy where local DNS does not resolve

1 vote
1 answer
1973 views
I have a local machine with CentOS 7. There is a Socks V5 proxy server on the local subnet that provides this machine with access to the internet. I am able to download files with,
curl  -x --proxy  socks5://ipaddress:1080 -u username:password www.google.com
On my local machine I am currently running Artifactory and Jenkins webapps in Tomcat. The systems do not natively provide socks proxy setup; and require access to the internet. I tried tsocks, however remote DNS requests are not resolved. How to I get this working?
Asked by erichfw (111 rep)
Sep 11, 2015, 09:09 AM
Last activity: Jun 27, 2025, 04:03 PM