Invoke Socksproxy

Socks proxy, and reverse socks server using powershell.
Alternatives To Invoke Socksproxy
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
12 days ago188gpl-3.0C#
A GUI client for Windows, support Xray core and v2fly core and others
V2ray Core43,1047416 days ago4June 03, 201926mitGo
A platform for building proxies to bypass network restrictions.
V2ray Core23,844304 days ago201June 12, 202270mitGo
A platform for building proxies to bypass network restrictions.
3 days ago4April 26, 2021302gpl-3.0Kotlin
A V2Ray client for Android, support Xray core and v2fly core
Xray Core16,1114918 hours ago93June 19, 2023383mpl-2.0Go
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
16 days ago17April 09, 2021118gpl-3.0Go
🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
Brook13,85449 days ago33April 24, 202143gpl-3.0Go
A cross-platform programmable network tool. 一个跨平台可编程网络工具.
Proxychains Ng8,751
4 months ago119gpl-2.0C
proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the page is currently not updated, use releases from github release page instead.
Hysteria6,95285 days ago54June 11, 202396mitGo
Hysteria is a powerful, lightning fast and censorship resistant proxy.
Shadowsocks Rust6,55512 days ago33July 06, 202356mitRust
A Rust port of shadowsocks
Alternatives To Invoke Socksproxy
Select To Compare

Alternative Project Comparisons


Creates a local or "reverse" Socks proxy using powershell.

The local proxy is a simple Socks 4/5 proxy.

The reverse proxy creates a tcp tunnel by initiating outbond SSL connections that can go through the system's proxy. The tunnel can then be used as a socks proxy on the remote host to pivot into the local host's network.



Create a Socks 4/5 proxy on port 1080:

Import-Module .\Invoke-SocksProxy.psm1
Invoke-SocksProxy -bindPort 1080

Increase the maximum number of threads from 200 to 400

Import-Module .\Invoke-SocksProxy.psm1
Invoke-SocksProxy -threads 400


Create a "reverse" Socks 4/5 proxy on port 1080 of a remote host:

# On the remote host: 
# Generate a private key and self signed cert
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out cert.pem

# Get the certificate fingerprint to verify it:
openssl x509 -in cert.pem -noout -sha1 -fingerprint | cut -d "=" -f 2 | tr -d ":"

# Start the handler
python3 443 1080 ./cert.pem ./private.key

# On the local host:
Import-Module .\Invoke-SocksProxy.psm1
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 

# Go through the system proxy:
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost -useSystemProxy

# Validate certificate
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost -certFingerprint '93061FDB30D69A435ACF96430744C5CC5473D44E'

# Give up after a number of failed connections to the handler:
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost -maxRetries 10

Credit for the System Proxy trick:


  • This is only a subset of the Socks 4 and 5 protocols: It does not support authentication, It does not support UDP or bind requests.
  • When the Socks Proxy runs out of available threads, new connections cannot be established until a thread is freed.
  • New features will be implemented in the future. PR are welcome.


This project is intended for security researchers and penetration testers and should only be used with the approval of system owners.

Popular Proxy Projects
Popular Socks Projects
Popular Networking Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Socks Proxy