-
In terminal, run the below command:
ssh -D7070 -fN <user>@<remote_host>orsocks_proxy.sh -
Configure proxy in your browser:
- Protocol: SOCKS5
- Server: localhost
- Port: 7070
| #!/bin/bash | |
| # try to kill existing process | |
| ps aux | awk '/[s]sh -D 7070/ {print $2}' | xargs kill | |
| # delay 1s | |
| sleep 1 | |
| # start SOCKS proxy | |
| ssh -D 7070 -fN user@host |
In terminal, run the below command:
ssh -D7070 -fN <user>@<remote_host>
or socks_proxy.sh
Configure proxy in your browser: