openvpn-updown

command module
v0.0.0-...-c94abcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2022 License: BSD-2-Clause Imports: 10 Imported by: 0

README

echoCTF OpenVPN UpDown

A small tool written in Go that is used by OpenVPN client-connect and client-disconnect.

The tool is reponsible for providing the following functionality

  • Checks if the event is active before proceeding
  • Checks if the user is already logged in
  • Calls the VPN_LOGIN() / VPN_LOGOUT() procedures on the database
  • Retrieves existing networks that the user is granted access
  • Retrieves private instance networks that the user is granted access
  • Executes pfctl to add the user VPN assigned IP to their client tables (<networkcodename_clients>)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL