Socket
Socket
Sign inDemoInstall

psproxy

Package Overview
Dependencies
0
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

psproxy

Executable for enabling or disabling proxy settings for Junos Pulse Secure VPN


Version published
Maintainers
3
Weekly downloads
8
decreased by-27.27%

Weekly downloads

Readme

Source

psproxy

A simple way to toggle the proxy settings for Pulse Secure VPN.

This utility was created to solve the problem of Charles Proxy(v3.10.2) not working when connected to a VPN using Pulse Secure(v5.2.5) on Mac OS X (v10.10.5).

This tool is not intended to work on operating systems other than Mac OS X, and has only been tested with the configuration above.

A notable change is that v2.x of this tool now supports the newer version of Pulse Secure. Install v1.x if you have the older Junos Pulse Secure.

Install

Install the latest package globally (Current Pulse Secure):

npm i -g psproxy

Install v1.x globally (Older Junos Pulse Secure):

npm i -g psproxy@1

Usage

Before executing this utility, make sure the following is in order

  1. Pulse Secure is securely connected to your VPN
  2. Your proxy (ie. Charles) is running

Apply the current proxy settings to Pulse Secure:

sudo psproxy on

Remove the current proxy settings from Pulse Secure:

sudo psproxy off

Troubleshooting

If you see one of the following error messages, follow the provided instructions to resolve the issue.

Command Line:

  • No such key

    • Pulse Secure must be both running and securely connected to the VPN
    • Use v1.x of this tool with Junos Pulse Secure
    • Use v2.x of this tool with Pulse Secure
  • Permission denied

    • Admin privileges are required, use sudo.

Browser:

  • Unable to connect to the proxy server (ERR_PROXY_CONNECTION_FAILED)
    • You closed your proxy (ie. Charles). Either restart your proxy or execute sudo psproxy off

How Does it Work?

scutil is used to apply proxy settings to Pulse Secure.

View the bin/psproxy.sh file for the specifics.

References

  1. GitHub - mivasi/CharlesJuniperVPN

Keywords

FAQs

Last updated on 14 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc