Created
April 15, 2026 10:19
-
-
Save fiddyschmitt/76203df2c445f1a49e878678003ce5f9 to your computer and use it in GitHub Desktop.
SSH reverse socks proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Run SOCKS proxy | |
| Host B | |
| Linux VM | |
| VM properties | |
| Give it a NAT NIC | |
| Click the Port Forwarding button | |
| Forward 22 to 22 | |
| Configure it to allow SSH to listen to other machines: | |
| vi /etc/ssh/sshd_config | |
| Add: | |
| GatewayPorts clientspecified | |
| dhclient | |
| service ssh start | |
| Host A | |
| ssh -R 192.168.56.100:8080 -o ExitOnForwardFailure=yes user@hostb | |
| Host B | |
| Run Firefox | |
| Set its SOCKS proxy to 192.168.56.100:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment