Socket
Socket
Sign inDemoInstall

0xacab.org/leap/vpnweb

Package Overview
Dependencies
9
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    0xacab.org/leap/vpnweb


Version published

Readme

Source

vpnweb

A minimalistic webapp in Go to service API/JSON for the LEAP VPN

Configuration

You can pass generic configuration options either as a flag or an environment variable. Some specific options can be passed only as env vars (like authentication credentials).

FlagEnv vardefaultDescription
apiPathVPNWEB_API_PATH/etc/leap/config/vpnPath for the public API static files
providerCaCrtVPNWEB_PROVIDER_CA/etc/leap/ca/ca.crtPath for the provider CA certificate
portVPNWEB_PORT8000Port where the api server will listen
metricsPortVPNWEB_METRICS_PORT8001Port where the metrics server will listen
tlsfalseEnable TLS on the service
tlsCrtVPNWEB_TLSCRTPath to the cert file for TLS
tlsKeyVPNWEB_TLSKEYPath to the key file for TLS
vpnCaCrtVPNWEB_CACRTPath to the CA public key used for VPN certificates
vpnCaKeyVPNWEB_CAKEYPath to the CA private key used for VPN certificates
authVPNWEB_AUTHAuthentication module to use (one of: sip2, anon)
authSecretVPNWEB_AUTH_SECRETAuthentication secret to sign auth tokens
passwordPolicyVPNWEB_PASSWORD_POLICYrequirePassword policy, if used (one of: require, ignore)

SIP2 authentication:

Env varDescription
VPNWEB_SIP_USERAdministrative user for the SIP2 telnet interface
VPNWEB_SIP_PASSAdministrative pass for the SIP2 telnet interface
VPNWEB_SIP_HOSTHost to connect to the SIP2 telnet interface
VPNWEB_SIP_PORTPort to connect to the SIP2 telnet interface
VPNWEB_SIP_LIBR_LOCATIONLibrary location identifier
VPNWEB_SIP_TERMINATORTelnet terminator used by the endpoint (default: \r\n)

FAQs

Last updated on 30 Mar 2023

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