https://github.com/rkbalgi/proxy-switcher
A simple utility to switch between multiple proxy profiles (one for work at, office, mobile etc)
https://github.com/rkbalgi/proxy-switcher
multiple proxy settings switch windows
Last synced: 21 days ago
JSON representation
A simple utility to switch between multiple proxy profiles (one for work at, office, mobile etc)
- Host: GitHub
- URL: https://github.com/rkbalgi/proxy-switcher
- Owner: rkbalgi
- License: apache-2.0
- Created: 2017-02-23T12:39:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T18:32:15.000Z (about 9 years ago)
- Last Synced: 2025-06-21T23:03:43.281Z (11 months ago)
- Topics: multiple, proxy, settings, switch, windows
- Language: Java
- Size: 12.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# proxy-switcher
A simple utility to switch between multiple proxy profiles (one for work, at office, mobile etc)
# Installation
* Just build the jar file and place in a directory of your choice
* Now write a couple of powershell scripts (example below) that will do the actual job of changing the proxy settings (in the registry)
* The powershell scripts shall have an extension of .ps1 or .PS1 and should be in the same directory as that of the proxyswitcher jar file
* Once the application is launched (with a java8+ jvm) it will appear in the system tray and please refer to the below picture for usage

#Powershell Scripts
Below is an example of the powershell script (acme.ps1)
# proxy setting change script for acme
##
##
# Do not change the below line
$regKey="HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
# The below line should be proxy/port in your organization or workplace
set-ItemProperty -path $regKey ProxyServer -value 'proxy.acme.com:8080'
# below value should be 1 for enable proxy and 0 for disable
set-ItemProperty -path $regKey ProxyEnable -value 1
# the list of system names/ip's that should bypass the proxy
Set-ItemProperty -path $regKey ProxyOverride -value '*.acme.com;*hr*;*acmeinternal*'