Huge news!Announcing our $20M Series A led by Andreessen Horowitz.Learn more
Socket
Socket
Log inDemoInstall

0xacab.org/leap/vpnweb

Package Overview
Dependencies
9
Maintainers
0
Issues
File Explorer

0xacab.org/leap/vpnweb

    v0.0.0-20230330075106-067b34da6d44

Version published
Maintainers
0

Readme

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 installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install
SocketSocket SOC 2 Logo

Product

  • Package Issues
  • 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