Re:Show HN: A simple SSH VPN client
by zenlikethat on Sunday July 23, 2017 @12:33PM
(#14833059)
Probably shouldn't turn off StrictHostKeyChecking. SSH will prompt to confirm the fingerprint if needed.
You 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...
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" &