Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
/ vpn-scripts Public archive

Scripts to use a Proxy with authentication through a Cisco Anyconnect VPN split tunnel

License

Notifications You must be signed in to change notification settings

konqi/vpn-scripts

Repository files navigation

vpn-scripts

Scripts to use a Proxy with authentication through a Cisco Anyconnect VPN split tunnel

Prerequisites

You need to have the following software installed on your machine:

  • openconnect
  • squid

On Mac OS you can install the components using homebrew with the following commands:

brew install openconnect
brew install squid

Configuration

Create a copy of vpn.example.conf and save it as vpn.conf.

Change the configuration in vpn.conf according to your needs.

Start/Stop

To start the tunnel, proxy and change your system's configuration for the proxy type:

./vpn start

To stop the proxy, tunnel and clean your system's configuration from proxy settings type:

./vpn stop

If the tunnel collapses, because you've been idle, or whatever reason, you can reestablish the tunnel connection with:

./vpn re

This command will not restart the proxy and will not reconfigure your system's proxy settings.

Gimmicks

The npm script and configuration can help you configure npm for a corporate Nexus.

About

Scripts to use a Proxy with authentication through a Cisco Anyconnect VPN split tunnel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages