How can I set socks proxy on windows?

Hi I have a PC with a proxy internet connection. When I use for example flutter it needs to download some dependencies by sock connection. How can I set a global configuration for my PC to use socks connection to internet? Thanks

4 Answers

Windows' basic proxy settings in "Network and Internet" don't seem to actually allow setting a SOCKS proxy explicitly.

To set a SOCKS proxy (SOCKS4 or SOCKS5, I believe) on Windows 10:

  1. Take note of your public IP address by searching Google for "my ip" (open this in a new tab and keep it open)

External IP address from Google

  1. Open Internet Options (either by searching in the start/search bar, or through Control Panel > Network and Internet > Internet Options)

Open internet options

  1. Open the Connections tab and click LAN Settings

Connections tab

  1. Check the box to "Use a proxy server for your LAN". You'll likely also want to check "Bypass proxy server for local addresses". Then click the "Advanced" button:LAN Settings

  2. Uncheck "Use the same proxy server for all protocols", remove all proxy addresses except for "Socks", and replace the Socks address/port with that of your server:

Advanced Proxy Settings

  1. Click OK on the Proxy Settings window, OK on the LAN Settings window, and Apply on the Internet Properties window. All connections should now be going through your SOCKS proxy. Double check by again searching Google for "my ip" and comparing to your original external IP address (this should now show the IP address of your SOCKS5 server)

New external IP address reported by Google

Credit to for getting me pointed in the right direction, after trying the suggestions on this page

2

The Windows 10 proxy setup UI is terrible.

To use socks, you need to enter this into the address field:

Replace localhost with the actual proxy address.

Set the port as per usual.

3

If you use Windows 10, follow the steps below to set proxy:

  1. Open Settings.

  2. Click Network & Internet.

  3. Click Proxy.

  4. In the Manual Proxy Setup section, set the Use a Proxy Server switch to On.

  5. In the Address field, type the IP address.

  6. In the Port field, type the port.

  7. Click Save; then close the Settings window.

enter image description here

There is 4 main types of proxy:

  • HTTP — allows to visit web-sites and download files from HTTP.
  • HTTPS — also called SSL proxies. With these proxies you can view HTTP and HTTPS sites.With special software they may be used with any protocol like SOCKS proxies.
  • Socks 4 — can be used with any TCP/IP protocol with any destination address and port..
  • Socks 5 — you may also use UDP protocol, make DNS requests, und use BIND function for port forwarding.
10

The only way I was able to set a socks proxy in windows 10 was via Internet Explorer.
Search for and run the Internet Explorer App.
From the Tools menu click on Internet Options. Click on the Connections tab. Click the "LAN settings" button. Add a check to the "Use a proxy server for your LAN" if its not already checked. Click on the Advanced setting Uncheck the box for "Use the same proxy server for all protocols" if it's checked. Set your SOCKS server here and clear the fields for all the other proxy types. Click OK, click OK, click OK, and now your system is configured to use a SOCKS proxy.

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