Skip to content

From any client, retrieve all vpn clients on your vpn, without having to configure static IPs.

License

Notifications You must be signed in to change notification settings

schattian/openvpn-members

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

From any client, retrieve all vpn clients on your vpn, without having to configure static IPs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published