Skip to content

rent1807/sysproxy-cmd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sysproxy-cmd

A command line tool to change HTTP(s) proxy settings of the operating system.

Binaries included in repo. Simply make to build it again.

Note - you will need to run make separately on each platform.

Usage

sysproxy show
sysproxy on  <proxy host> <proxy port>
sysproxy off <proxy host> <proxy port>

sysproxy off will turn off proxy setting only if the existing host and port equal .

Notes

  • Mac

Setting the system proxy is a privileged action on Mac OS. sudo or elevate it as below.

There's an additional option to chown itself to root:wheel and add setuid bit.

sysproxy setuid
  • Windows

Install MinGW-W64 to build sysproxy as it has up to date SDK headers we require.

To avoid bringing up console window, it doesn't show anything directly to console. Piping the result to other utilities should work.

sysproxy show | cat
  • Linux

sudo apt-get install libgtk2.0-dev

About

Command-line tool for setting HTTP(S) system proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.9%
  • Makefile 8.1%