Skip to content

Instantly share code, notes, and snippets.

@jaytaylor
Last active August 29, 2017 21:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaytaylor/75d238ecbe03fbe75093c555a122a46f to your computer and use it in GitHub Desktop.
Save jaytaylor/75d238ecbe03fbe75093c555a122a46f to your computer and use it in GitHub Desktop.
Chromium launch command to use custom socks5 proxy and skip all ssl validation

First, download and install chromium (because running a browser with SSL verification turned off is insecure -- only use this browser for accessing mesos).

Window 1:

ssh -D 9999 <hostname>

Window 2:

open -a /Applications/Chromium.app \
    --args \
    --proxy-server=socks5://127.0.0.1:9999 \
    --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE 127.0.0.1" \
    --ignore-certificate-errors

IMPORTANT

This browser should only be used to access resources where disabling SSL verification is desired. This is not a secure way to just browse the net.

@dtx
Copy link

dtx commented Jul 12, 2017

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment