Giter Site home page Giter Site logo

vpncheck's Introduction

VPN check service

This service polls any VPN via the AWS DescribeVpnConnections and displays a human friendly result page.

Usage manual

USAGE
  vpnck [flags]

FLAGS
  -debug false       More verbose logging
  -debug-addr :8081  Debug and metrics listen address
  -http-addr :8080   HTTP listen address
  -insecure false    Ignore invalid server TLS certificates
  -interval 5m0s     Time between polling the VPN status

Optional flags

-debug-addr

The address the debug & metrics endpoint will listen to

-http-addr

The main HTTP listen address

-interval

Time between checking the VPN status, in the format that time.ParseDuration accepts. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

-insecure

Accept any TLS certificate presented by the server and any host name in that certificate. In this mode, TLS is susceptible to man-in-the-middle attacks. This should be used only for testing.

-debug

Show more detailed logs

Other configuration

Configuration for using the AWS API must be set up. When running in a k8s setup typically the only thing you will need to configure is the AWS Region to use - e.g. AWS_REGION=eu-west-1

vpncheck's People

Contributors

sneakybeaky avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.