5 ms·
This creates an Auto closing SSH Tunnel (Tunnel will close if Chrome exits) to a remote ssh server and redirect to localhost on port 7070 and launch Chrome Port
by sharjeelsayed 9y ago
This creates an Auto closing SSH Tunnel (Tunnel will close if Chrome exits) to a remote ssh server and redirect to localhost on port 7070 and launch Chrome Portable using local port 7070 as socks 5 proxy
The following command is for cygwin on Windows.Can be customised for Mac OS or Linux
ssh -o StrictHostKeyChecking=no -C -f -q -D 7070 username@servername sleep 10 ; "/cygdrive/c/PortableApps/GoogleChromePortable/GoogleChromePortable.exe" --proxy-server="socks5://localhost:7070" &
- zenlikethat 9y agoProbably shouldn't turn off StrictHostKeyChecking. SSH will prompt to confirm the fingerprint if needed.
- deleted 9y ago[deleted]
- jsnathan 9y agoYou might also want to pass --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost" to Chrome to avoid leaking DNS queries [1]. Edit: typo [1]: https://www.chromium.org/developers/design-documents/network-stack/socks-proxy https://www.chromium.org/developers/design-documents/network...