You are not logged in.

#1 2014-07-01 08:37:55

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

[SOLVED] Getting Chomium to work through a proxy

Hi,

I can't seem to get Chromium working with a proxy. I'm using Openbox and I don't use a "fancy" network manager so I'm setting the environment variables.

Here's my current setup:

       export http_proxy='http://192.168.1.43:8080'
       export https_proxy='http://192.168.1.43:8080'
       export ftp_proxy='http://192.168.1.43:8080'
       export socks5_proxy='http://192.168.1.43:8080'
       export all_proxy='http://192.168.1.43:8080'
       export no_proxy=localhost,127.0.0.1

       export HTTP_PROXY='http://192.168.1.43:8080'
       export HTTPS_PROXY='http://192.168.1.43:8080'
       export FTP_PROXY='http://192.168.1.43:8080'
       export SOCKS5_PROXY='http://192.168.1.43:8080'
       export ALL_PROXY='http://192.168.1.43:8080'
       export NO_PROXY=localhost,127.0.0.1

       gsettings set org.gnome.system.proxy mode 'manual'
       gsettings set org.gnome.system.proxy.http enabled true
       gsettings set org.gnome.system.proxy.http host '192.168.1.43'
       gsettings set org.gnome.system.proxy.http port 8080
       gsettings set org.gnome.system.proxy.https host '192.168.1.43'
       gsettings set org.gnome.system.proxy.https port 8080
       gsettings set org.gnome.system.proxy.ftp host '192.168.1.43'
       gsettings set org.gnome.system.proxy.ftp port 8080
       gsettings set org.gnome.system.proxy.socks host '192.168.1.43'
       gsettings set org.gnome.system.proxy.socks port 8080
       gsettings set org.gnome.system.proxy ignore-hosts "['localhost', '127.0.0.0/8']"

Lots of variable, but still no luck... :-/

Last edited by saz (2014-07-01 13:22:34)

Offline

#2 2014-07-01 08:44:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Getting Chomium to work through a proxy

What about:

chromium --proxy-server="socks://127.0.0.1:8080"

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-07-01 10:17:51

phanisvara
Member
From: west bengal, india
Registered: 2012-07-08
Posts: 74

Re: [SOLVED] Getting Chomium to work through a proxy

what jasonwryan said works for me. not only chromium, all browsers i use act differently to different env. variables, so if i want proxy, i start them with their respective command line arg.s.

Offline

#4 2014-07-01 11:24:08

MickeyRat
Member
Registered: 2011-11-15
Posts: 156

Re: [SOLVED] Getting Chomium to work through a proxy

Have you considered using an extension?  I use FoxyProxy.  With it I can set a default proxy that I use for privoxy.  If you are the type that likes to surf in the weird/interesting waters of TOR, IP2, etc., you can also use it to use different proxies based on a pattern.


Some cause happiness wherever they go; others whenever they go.
- Oscar Wilde

Offline

#5 2014-07-01 13:22:12

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

Re: [SOLVED] Getting Chomium to work through a proxy

jasonwryan wrote:

What about:

chromium --proxy-server="socks://127.0.0.1:8080"

That didn't work either. But I installed FoxyProxy as MickeyRat suggested and I'm posting this through Chromium, thanks!

Offline

Board footer

Powered by FluxBB