Proxy Settings via Console on Command Line

From wiki.linuxonlinehelp.eu
Revision as of 10:32, 7 July 2017 by Author (talk | contribs)
Jump to navigation Jump to search

Note:

  • Proxy Server package called "privoxy" is installed on the PC listening to localhost:8118
  • and Tor Client Package "Tor" at "non-relay-mode"!

Install Howto here: Privoxy_Tor

This set the Internet Browsers to work with Privoxy Ads Filter and Tor Client to be ~95% anonymous!

You can use the Gui Tool "dconf-editor" on other Desktops (openbox,lxde,icewm) or on Console:

To modify a dconf setting:

$ gsettings set <schema> <key> <value>

To read a dconf setting:

$ gsettings get <schema> <key>

Change System Proxy Setting for current active User:

$ gsettings set org.gnome.system.proxy.http host 'localhost'
$ gsettings set org.gnome.system.proxy.http port 8118
$ gsettings set org.gnome.system.proxy mode 'manual'

Change HTTPS/FTP :

$ gset4tings set org.gnome.system.proxy.https host 'localhost'
$ gsettings set org.gnome.system.proxy.https port 8118
$ gsettings set org.gnome.system.proxy.ftp host 'localhost'
$ gsettings set org.gnome.system.proxy.ftp port 8118

Change Socks host Setting:

$ gsettings set org.gnome.system.proxy.socks host 'localhost'
$ gsettings set org.gnome.system.proxy.socks port 8118

System Wide Setting for all Users (Child Protection with tor service and privoxy):

$ sudo gsettings set org.gnome.system.proxy.http host 'localhost'
$ sudo gsettings set org.gnome.system.proxy.http port 8118
$ sudo gsettings set org.gnome.system.proxy mode 'manual'

Change System Proxy Setting to Automatic from the Command Line:

$ gsettings set org.gnome.system.proxy mode 'auto'
$ gsettings set org.gnome.system.proxy autoconfig-url http://my.proxy.de/autoproxy.pac

Clear System Proxy Settings (DEFAULT):

$ gsettings set org.gnome.system.proxy mode 'none'