7 ms·
Yes, its a useful trick I often use. However, does anyone know if Chromium or Opera can do the same DNS request tunnelling? (Firefox+Linux is sluggish for me.)
by vimalg2 16y ago
Yes, its a useful trick I often use. However, does anyone know if Chromium or Opera can do the same DNS request tunnelling? (Firefox+Linux is sluggish for me.)
- sesqu 16y agoI'm pretty sure Chrome, at least, doesn't support SOCKS yet at all. I was trying to make a shell script just the other day that would set up a SSH SOCKS proxy to a remote box and launch a browser using it, but couldn't do it from the command line in either Firefox or Chrome (didn't try a custom profile). Furthermore, I couldn't get it working in Chrome at all (shame; Firefox is more sluggish, and Opera won't even start on my box).
- nl 16y agoChrome (under both Windows & Linux - not sure about OS X) can use SOCKS - I use it regularly. I'm unsure how to make it do remote DNS look-ups though. Opera cannot do SOCKS.
- pyre 16y agoOne problem with Chrome is that its proxy config interface really is just interfacing with the GNOME desktop-wide proxy settings. So it's impossible to have Chrome use multiple proxies or to only have one instance of Chrome use a proxy, but another instance not -- even if both instances have completely separate user data directories -- and all proxy changes are instantaneous across all Chrome instances. (At least for Chromium 5.0.391.0 on Linux)
- tomjen3 16y agoTry the proxy switchy extension - it should at least make it very fast to switch proxies.
- sesqu 16y agoYeah, I got it to work now, thanks to google. Hadn't realized that it needs a) a new session and b) an environment variable set. function remotebrowse() { export SOCKS_SERVER=localhost:5432 ssh -fNTD 5432 remote google-chrome --user-data-dir=/tmp/chrome $1 & } I get some error messages, but it seems to work.
- uxp 16y agoChrome on OS X can use SOCKS, but not explicitly for Chrome, since the operating system manages the connections under System Preferences > Network > Advanced > Proxies.
- mthoms 16y agoUsing this method, will OS/X use the remote machine for DNS lookups or my ISP?