Socks proxy server using powershell.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2140aef Feb 25, 2018
Failed to load latest commit information.
Invoke-SocksProxy.psm1 Update Invoke-SocksProxy.psm1 Dec 18, 2017
LICENSE Initial commit Nov 9, 2017 Update Feb 25, 2018


Creates a Socks proxy using powershell.

Supports both Socks4 and Socks5 connections.


Create a Socks 4/5 proxy on port 1234:

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

Create a simple tcp port forward:

Import-Module .\Invoke-SocksProxy.psm1
Invoke-PortFwd -bindPort 33389 -destHost -destPort 3389


  • 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.
  • Used connections are not always dismissed, causing a memory leak.
  • New features will be implemented in the future. PR are welcome.