Scenario: Install a SOCKS5 proxy on port 12345 via SSH, then set it as the system proxy.
# Step 1: Start SSH dynamic forwarding in background ssh -D 12345 -fN user@remote-server
netsh winhttp set proxy proxy-server="socks=127.0.0.1:12345"proxy 12345 install
To see who is connecting via port 12345: Scenario: Install a SOCKS5 proxy on port 12345
tail -f /var/log/squid/access.log # Linux
On Windows, CCProxy provides a real-time connection log. To see who is connecting via port 12345: