{"id":17006023,"url":"https://github.com/aress31/openvpn-stat","last_synced_at":"2025-07-26T04:03:01.315Z","repository":{"id":62414155,"uuid":"133379037","full_name":"aress31/openvpn-stat","owner":"aress31","description":"Display OpenVPN connected clients and their associated routing information in a user-friendly fashion.","archived":false,"fork":false,"pushed_at":"2019-11-22T08:14:27.000Z","size":11,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T07:15:10.921Z","etag":null,"topics":["monitoring","openvpn-server","parser","status"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aress31.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"aress31","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-05-14T15:02:12.000Z","updated_at":"2024-08-12T19:38:32.000Z","dependencies_parsed_at":"2022-11-01T14:47:49.947Z","dependency_job_id":null,"html_url":"https://github.com/aress31/openvpn-stat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aress31/openvpn-stat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aress31%2Fopenvpn-stat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aress31%2Fopenvpn-stat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aress31%2Fopenvpn-stat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aress31%2Fopenvpn-stat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aress31","download_url":"https://codeload.github.com/aress31/openvpn-stat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aress31%2Fopenvpn-stat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267116116,"owners_count":24038623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monitoring","openvpn-server","parser","status"],"created_at":"2024-10-14T05:04:49.394Z","updated_at":"2025-07-26T04:03:01.292Z","avatar_url":"https://github.com/aress31.png","language":"Python","funding_links":["https://github.com/sponsors/aress31"],"categories":[],"sub_categories":[],"readme":"# openvpn-stat\n[![Language](https://img.shields.io/badge/Lang-Python-blue.svg)](https://www.python.org)\n[![License](https://img.shields.io/badge/License-Apache%202.0-red.svg)](https://opensource.org/licenses/Apache-2.0)\n\nThis script parses `OpenVPN` status log files to display connected clients and their respective routing information in a user-friendly table. This enables VPN administrators to easily monitor and troubleshoot `OpenVPN` servers. The log file location is set using the `OpenVPN` `status` directive.\n\n## Installation\n```\n$ git clone https://github.com/AresS31/openvpn-stat\n# python -m pip install -r openvpn-stat/requirements.txt\n```\n\n## Usage\n### Generic usage\n```\nusage: openvpn-stat.py [-h] -iL INPUT_LOG {client,routing} ...\n\nDisplay OpenVPN connected clients and routing information\n\npositional arguments:\n  {client,routing}\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -iL INPUT_LOG, -input--log INPUT_LOG\n                        OpenVPN status log file\n```\n\n### Client usage\n```\nusage: openvpn-stat.py client [-h]\n                              [-s {Real Address,Common Name,Bytes Received,Bytes Sent,Connected Since}]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -s {Real Address,Common Name,Bytes Received,Bytes Sent,Connected Since}, --sort {Real Address,Common Name,Bytes Received,Bytes Sent,Connected Since}\n                        sort table by selected field\n```\n\n### Routing usage\n```\nusage: openvpn-stat.py routing [-h]\n                               [-s {Virtual Address,Common Name,Real Address,Last Ref}]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -s {Virtual Address,Common Name,Real Address,Last Ref}, --sort {Virtual Address,Common Name,Real Address,Last Ref}\n                        sort table by selected field\n```\n\n## Possible Improvements\n- [ ] Improve the sorting feature.\n- [ ] Improve the table design/look.\n- [ ] Source code optimisation.\n\n## Licenses\n### openvpn-stat\nCopyright (C) 2018 Alexandre Teyar\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n  \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faress31%2Fopenvpn-stat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faress31%2Fopenvpn-stat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faress31%2Fopenvpn-stat/lists"}