openvpn-members

command module
v0.0.0-...-53f6cff Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: GPL-3.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

OpenVPN members

This microservice was done to interact with multiple clients with dynamic IPs, detecting ports exposed to the vpn.

The idea is, basically, a handy way to use another member services.

How it works

It watches ./status.log to retrieve all the connected clients.

Its recommended to simply create a symlink with the original file (ln -s /var/log/openvpn/status.log ./status.log) or, in case of having more than one vpn running, symlinking the desired one.

It uses nmap to catch the exposed ports for each client. In case of desiring to add more ports to scan (or changing the aliases), the definition is on main.go as a map.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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