https://github.com/schattian/openvpn-members
From any client, retrieve all vpn clients on your vpn, without having to configure static IPs.
https://github.com/schattian/openvpn-members
connected dynamic ip map members nmap openvpn ports scan static vpn
Last synced: 6 months ago
JSON representation
From any client, retrieve all vpn clients on your vpn, without having to configure static IPs.
- Host: GitHub
- URL: https://github.com/schattian/openvpn-members
- Owner: schattian
- License: gpl-3.0
- Created: 2020-08-11T12:15:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-19T17:08:38.000Z (almost 6 years ago)
- Last Synced: 2023-03-21T20:27:58.915Z (over 3 years ago)
- Topics: connected, dynamic, ip, map, members, nmap, openvpn, ports, scan, static, vpn
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.