Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

0xacab.org/leap/vpnweb

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

0xacab.org/leap/vpnweb

  • v0.0.0-20230330075106-067b34da6d44
  • Go
  • Socket score

Version published
Created
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

Package last updated on 30 Mar 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc