Уровень сложностиСредний
Время на прочтение3 мин
Количество просмотров23K
В условиях постоянно усиливающегося государственного контроля над интернетом, проявляющегося, в том числе, в блокировке VPN-протоколов, проблема разработки альтернативных методов подключения становится все более актуальной. Этот вопрос не только теоретический, но и весьма практический. Переехав из России около года назад, я продолжаю активно использовать выстроенную за многие годы домашнюю инфраструктуру. Вплоть до недавнего времени мне достаточно было использовать VPN на базе Wireguard для доступа к домашним сетям, однако периодически наблюдаются определенные аномалии — увеличение потери UDP-пакетов и похоже, что попытки блокировки самого протокола. Хотя в некоторых случаях удается обойти эти проблемы, меняя параметры самодельного клиента Wireguard, общая картина вызывает определенную обеспокоенность. Вот почему сегодня становится крайне важным искать и разрабатывать альтернативные способы доступа к домашним сетям на случай массовой блокировки популярных VPN протоколов.
Один из проверенных временем и надёжных методов, не требующий сложной специализированной инфраструктуры, — это туннелирование TCP-соединений с использованием SSH. Этот протокол является критически важным для стабильности работы интернета, и вероятность его массовой блокировки выглядит крайне малой. Вероятно, наибольшими трудностями, с которыми мы можем столкнуться, являются ограничения на скорость соединения. Однако, даже в этом случае, доступ к домашним сетям будет сохранён, оставляя время для поиска и изучения других возможных решений. Уникальной особенностью SSH является встроенный SOCKS5 прокси-сервер, который предоставляет функционал аналогичный VPN с возможностью реализации split tunneling на уровне отдельных приложений. Именно здесь мы переходим к основной теме нашего обсуждения.
ProxiFyre — это Open Source инструмент, функционирующий как «соксификатор» для приложений, не имеющих встроенной поддержки работы через SOCKS прокси-серверы. Программа является улучшенным вариантом одного из демонстрационных примеров для Windows Packet Filter. В отличие от базовой версии, ProxiFyre обеспечивает поддержку протокола UDP и предлагает функцию одновременного использования нескольких экземпляров SOCKS5 прокси, что существенно расширяет ее функциональные возможности. Приложение в схожем виде существует уже пару лет, но я опубликовал его всего лишь пару недель назад после небольшого ревью. Поводом для публикации стали несколько последовательных запросов на дополнительные функциональные возможности (в частности поддержку UDP), а также скромная надежда на то, что те, кто просит об этих улучшениях, примут посильное участие в дальнейшем развитии проекта.
С целью упрощения работы с ProxiFyre, я добавил возможность настройки конфигурации при помощи файла app-config.json. Данный JSON файл предполагает включение массива конфигураций для разнообразных приложений, что обеспечивает высокую степень гибкости и позволяет вести детальный контроль над настройками интернет-подключения каждого отдельного приложения.
Пример конфигурации:
{
"logLevel": "None",
"proxies": [
{
"appNames": ["chrome", "chrome_canary"],
"socks5ProxyEndpoint": "158.101.205.51:1080",
"username": "username1",
"password": "password1",
"supportedProtocols": ["TCP", "UDP"]
},
{
"appNames": ["firefox", "firefox_dev"],
"socks5ProxyEndpoint": "159.101.205.52:1080",
"username": "username2",
"password": "password2",
"supportedProtocols": ["TCP"]
}
]
}
В контексте использования SOCKS5 с SSH, ProxiFyre применяется следующим образом. Предположим, вы подключаетесь к SSH-серверу с использованием команды ssh -D 8080 user@host
. Тогда, с использованием нижеследующего конфигурационного файла, вы сможете направить трафик приложений Google Chrome и RDP-клиента через SSH-тоннель:
{
"logLevel": "None",
"proxies": [
{
"appNames": ["chrome", "mstsc"],
"socks5ProxyEndpoint": "127.0.0.1:8080",
"supportedProtocols": ["TCP"]
}
]
}
Пример с Google Chrome может не вполне отражать все преимущества ProxiFyre, поскольку большинство веб-браузеров уже обладают встроенной поддержкой явной настройки прокси. Вместе с тем, множество других приложений не располагают этой функциональностью. Именно здесь ProxiFyre проявляет свою эффективность, предоставляя возможность конфигурации прокси для всех приложений, обеспечивая тем самым расширенный контроль над настройками интернет-подключения.
Архитектурно ProxiFyre состоит из трех основных проектов:
-
ndisapi.lib: Адаптированный проект статической библиотеки Windows Packet Filter.
-
socksify: .NET C++/CLI библиотека классов, реализующая функциональность локального маршрутизатора SOCKS5.
-
ProxiFyre: простенькое консольное .NET приложение для Windows, использующее функциональность предоставляемую .NET C++/CLI библиотекой классов socksify.
Подробные инструкции по использованию, включая требования к сборке, вы можете найти в README репозитория.
Надеюсь кому-то это приложение окажется полезным в текущих непростых обстоятельствах.
Вернуться к блогу
The Best Windows SOCKS5 Proxy Client
2024-10-18 04:00
When it comes to finding the best SOCKS5 proxy client for Windows, it’s essential to consider the features that make it stand out. A reliable SOCKS5 proxy client offers secure and efficient browsing, ensuring your online activities remain private and anonymous. In this article, we will explore the top options for the best proxy servers, IP addresses, and free proxy lists, as well as the best residential SOCKS5 proxy clients for Windows. Whether you’re looking for the best proxy client for Windows or the best proxy for Windows overall, we’ve got you covered. Let’s dive into the world of SOCKS5 proxy clients and find the perfect solution for your browsing needs. The best proxy servers are those that provide fast and reliable connections while maintaining high levels of security. By using the best proxy client for Windows, you can ensure that your online activities are protected from prying eyes and potential threats. Additionally, the best IP addresses for SOCKS5 proxy clients are those that offer anonymity and stability, allowing you to browse the web with confidence. For those in search of the best free proxy lists, we will explore the options available for Windows users, making it easy to find a reliable and secure solution. Whether you’re interested in a SOCKS5 proxy client for Windows, a SOCKS proxy client, or a residential SOCKS5 proxy client, this article will provide valuable insights into the best options on the market. With the right proxy client for Windows, you can enjoy a seamless browsing experience that prioritizes your privacy and security. Stay tuned as we uncover the best SOCKS5 proxy clients and servers for Windows users.
ProxiFyre: SOCKS5 Proxifier for Windows
ProxiFyre elevates the foundational capabilities of the Windows Packet Filter’s socksify demo, introducing robust enhancements. Not only does it seamlessly integrate support for UDP, but it also empowers users with the flexibility of managing multiple proxy instances. Streamlining its configuration process, ProxiFyre now dynamically sources its settings from an app-config.json file, ensuring a more intuitive and user-friendly experience. Furthermore, with its adaptability in mind, ProxiFyre can be effortlessly configured to run as a Windows Service, providing continuous operation without the need for manual intervention.
Configuration
The application uses a configuration file named app-config.json. This JSON file should contain configurations for different applications. Each configuration object should have the following properties:
- appNames: An array of strings representing the names of applications this configuration applies to.
- socks5ProxyEndpoint: A string that specifies the SOCKS5 proxy endpoint.
- username: A string that specifies the username for the proxy.
- password: A string that specifies the password for the proxy.
- supportedProtocols: An array of strings specifying the supported protocols (e.g., «TCP», «UDP»).
LogLevel
LogLevel can have one of the following values which define the detail of the log: None
, Info
, Deb
, All
appNames
On the application name, it can be a partial name or full name of the executable, e.g. firefox
or firefox.exe
both will work for the firefox browser, but also any application whose name includes firefox
or firefox.exe
, e.g. NewFirefox.exe
. If the pattern specified in the appName contains slashes or backslashes then it is treated as a pathname and instead of matching the executable name, the full pathname is matched against the pattern. It allows specifying an entire folder using a full or partial path which can be convenient for UWP applications, e.g. C:\\Program Files\\WindowsApps\\ROBLOXCORPORATION.ROBLOX
for ROBLOX.
SOCKS5 Proxy Authorization
If the SOCKS5 proxy does not support authorization, you can skip the username and password in the configuration.
Here is an example configuration:
{ "logLevel": "None", "proxies": [ { "appNames": ["chrome", "C:\\Program Files\\WindowsApps\\ROBLOXCORPORATION.ROBLOX"], "socks5ProxyEndpoint": "158.101.205.51:1080", "username": "username1", "password": "password1", "supportedProtocols": ["TCP", "UDP"] }, { "appNames": ["firefox", "firefox_dev"], "socks5ProxyEndpoint": "127.0.0.1:8080", "supportedProtocols": ["TCP"] } ] }
Quick Start Guide
This guide provides step-by-step instructions on how to set up and run the ProxiFyre application.
Pre-installation Steps
1. Install Windows Packet Filter (WinpkFilter)
Windows Packet Filter is a critical dependency for our project.
- Visit the Windows Packet Filter Github page to download the latest version.
- Follow the instructions on the page to install it.
2. Install Visual Studio Runtime Libraries
Visual Studio Runtime Libraries are required for running applications developed with Visual Studio.
- Go to Visual Studio 2022 redistributable download page
- Identify your system architecture (x64, x86, or ARM64).
- Download the appropriate installer for your platform to ensure compatibility and optimal performance.
- For x64 systems, download the x64 installer.
- For x86 systems, download the x86 installer.
- For ARM64 systems, download the ARM64 installer.
- Locate the downloaded installer and double-click on it to begin the installation.
- Follow the on-screen instructions to complete the installation
Please ensure you download the correct installer to avoid any installation issues.
Installation Steps
-
Download the Latest Release: Visit our GitHub page to download the latest release of the ProxiFyre software.
-
Unzip the Software: After downloading, extract the contents of the .zip file to your preferred location.
-
Create
app-config.json
File: Following the template provided in the Configuration section of this document, create anapp-config.json
file. This file is crucial for the software to function properly. Save this file in the main application folder.
Running the Application
- Run the Application: Navigate to the directory where you extracted the software. Find the main application executable (
.exe
file) and run it. It’s recommended to run the application as an administrator to ensure all functionalities work as expected.
Running as a Service
ProxiFyre can be installed and run as a Windows service. Follow these steps:
- Open a command prompt as an administrator.
- Navigate to the directory containing
ProxiFyre.exe
. - Use the following command to install the service:
- Start the service with:
- To stop the service, use:
- If you wish to uninstall the service, use:
Logging
Logs are saved in the application folder under the /logs
directory. The details and verbosity of the logs depend on the configuration set in the app-config.json
file.
Build Prerequisites
Before starting the build process, ensure the following requirements are met:
-
Install vcpkg: You can download and install vcpkg from the official website here.
-
Install Microsoft GSL library via vcpkg: Once vcpkg is installed, use it to download and install the Microsoft GSL library. Run the following commands in your terminal:
vcpkg install ms-gsl:x86-windows ms-gsl:x64-windows ms-gsl:arm64-windows
-
Add online NuGet Package Source: In some cases, you may need to add an online NuGet Package Source. To do this, navigate to
Visual Studio->Tools->Options->NuGet Package Manager->Package Sources
and addhttps://nuget.org/api/v2
.
Projects
This repository consists of three main projects:
1. ndisapi.lib
This is an adopted Windows Packet Filter NDISAPI static library project.
2. socksify
This project is a .Net C++/CLI class library that implements the local SOCKS5 router functionality.
3. ProxiFyre
This is a .Net-based Windows console application that employs the functionality provided by the socksify .Net C++/CLI class library.
Readers help support Windows Report. We may get a commission if you buy through our links.
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
There are built-in Windows proxy settings, but you can also set it up through other methods. SOCKS5 is the latest version of this protocol, coming with better security.
With it, you can bypass restrictions, access blocked websites, and enjoy enhanced speed and reliability across various applications. Here’s how to use SOCKS5 proxy on your laptop or desktop:
How do I use SOCKS5 proxy settings on Windows?
1. Windows manual proxy setup for SOCKS5
- Go to Control Panel > Internet Options.
- Switch to the Connections tab.
- Click LAN settings.
- Enable Use a proxy server for your LAN.
- Activate Bypass proxy server for local addresses.
- Click Advanced.
- Disable Use the same proxy server for all protocols.
- At Socks, specify the server address and port of the SOCKS5 proxy.
- Delete everything at HTTP, Secure, and FTP.
- Click OK > Apply.
You can configure SOCKS5 proxy settings in Windows 10 without having to install any additional software. Plus, the setup applies to all software applications with Internet access, not just your web browser.
2. From Mozilla Firefox
- Download Firefox and install it on Windows 10.
- Click the ≡ button and go to Options.
- In the General tab, scroll down to Network Settings.
- Click Settings.
- Select Manual proxy configuration.
- Set SOCKS5 Host and Port to the server address and port of the SOCKS5 proxy.
- Select SOCKS5 v5.
- Click OK.
If you prefer using a web browser with a SOCKS5 proxy instead of the entire computer, Firefox is your best bet. While using Firefox for SOCKS5, you can use any other browser for direct Internet connections.
3. Using Google Chrome
For Chrome, the process is very similar:
- Click on the menu button.
- Select settings.
- Select the System section.
- Click on Open your computer’s proxy settings.
- Enter your Proxy server address as shown in the first solution.
If you wish to regularly switch SOCKS5 proxy servers, you can install an extension like Smartproxy.
Smartproxy
Switch your IP address for increased privacy and reduced website tracking or blocking chances.
4. Use VPN with SOCK5 features
- Sign up for a PIA subscription plan.
- Download and install PIA to your PC.
- Right-click PIA’s systray icon and go to Settings.
- Switch to the Proxy tab.
- Select Shadowsocks, click Configure and choose a location.
- Or, choose SOCKS5 Proxy, click Configure, and set the SOCKS5 proxy details.
- Left-click PIA’s systray icon.
- Press the big power button to connect to a VPN server.
If you want to not only spoof your IP address but also encrypt your traffic, use PIA- A SOCKS5 client for Windows and a VPN at the same time.
In Shadowsocks mode, you can connect the VPN server to a second location for increased privacy and security. It’s similar to using a double VPN to stay connected to two VPN servers at once.
In SOCKS5 proxy mode, you simply specify the connection details of a SOCKS5 proxy server. It’s the custom alternative to Shadowsocks mode, but it’s a bit more complicated.
Private Internet Access
Get unlimited access to thousands of SOCKS5 servers with this reliable and fast tool!
5. Setup from Shadowsocks
- Go to the Shadowsocks page.
- Download the latest version for Windows 10/11.
- Unzip the archive and run the executable file.
- Set the IP address, port, and password of the SOCKS5 proxy.
- Click OK.
- Right-click the Shadowsocks systray icon.
- Select System Proxy > Global.
Shadowsocks is a SOCKS5 proxy client that can be easily installed on Windows 10 to use SOCKS5 proxy settings. It runs in the systray and can be quickly configured, enabled, and disabled.
Furthermore, Shadowsocks features several encryption methods to make up for the fact that SOCKS5 doesn’t have one, including 256-bit AES military-grade encryption.
In addition to security, a huge benefit of using Shadowsocks is that it applies the SOCKS5 proxy settings globally to Windows 10. As such, all Internet-enabled programs will use it.
6. Setup on uTorrent
- Download uTorrent on your Windows PC.
- Install the torrent client and launch it.
- Open the Options menu and select Preferences.
- Go to Connection.
- Set Proxy Server Type to Socks5.
- Set Proxy and Port to the server address and port of the SOCKS5 proxy.
- Click Apply.
On Windows 10 and other operating systems, you can configure SOCKS5 proxy settings directly in a torrent client to make your IP address anonymous and protect your true identity in the torrent swarm.
Elena Constantinescu
Windows Software Expert
Elena started writing professionally in 2010 and hasn’t stopped exploring the tech world since. With a firm grasp of software reviewing and content editing, she is always trying new things to improve her skill set.
Once in a blue moon, she steps aside from the desk to play with her bunny and to water her probably dead plants.
Skip to content
We all know that a proxy server is a network of computers through which we can access the internet by hiding our own online identity. The proxy server is located somewhere else in the world and when we connect to the proxy server, it is as if we are connecting to the internet from that location. This way we can also bypass geo-location based bans on certain websites.
Typically a proxy server is basically the IP address of the proxy server and it port to which we can connect to. We have to manually configure our computers to connect to a proxy server. A VPN server is not much different. The main difference between a proxy server and a VPN server is that proxy can be used only with a few applications while VPN covers the entire device’s internet traffic.
In order to quickly configure a SOCKS5 proxy server or a VPN server on your Windows PC, we can use an open-source software. It has the same name as that of a popular bath soap – Lux. After installing this software on Windows, we can launch it and start adding all the proxy servers and VPN servers to its list. It supports only SOCKS5 and Shadowsocks based servers.
If you do not have any server to add, then you can simply search for publicly available “free SOCKS5 proxy servers”. You will find hundreds of free proxy servers, however there is no guarantee that they will work.
In the Lux user interface, we can select an added proxy server and then click on the toggle button to set it as the default proxy server. We can also check the connection speeds (ping returns) of all the added proxy servers in the list. When the connection is timed out, it shows a red dot on that server.
All things considered, Lux is a pretty handy proxy/VPN server client application. However, it needs good quality VPN or proxy servers in order to work. It would have been amazing if the author added a bunch of working free or public servers for testing purposes.
You can download Lux VPN and Proxy client for Windows from https://github.com/igoogolx/lux.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.