{"id":17290478,"url":"https://github.com/melak/openvpn_radauth","last_synced_at":"2025-04-14T11:41:49.551Z","repository":{"id":8412206,"uuid":"9996935","full_name":"melak/openvpn_radauth","owner":"melak","description":"RADIUS authentication script for OpenVPN","archived":false,"fork":false,"pushed_at":"2022-04-24T22:24:48.000Z","size":151,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T00:51:14.325Z","etag":null,"topics":["c","openvpn","radius"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-11T08:23:02.000Z","updated_at":"2023-10-15T11:33:04.000Z","dependencies_parsed_at":"2022-09-01T18:22:15.443Z","dependency_job_id":null,"html_url":"https://github.com/melak/openvpn_radauth","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melak%2Fopenvpn_radauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melak%2Fopenvpn_radauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melak%2Fopenvpn_radauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melak%2Fopenvpn_radauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melak","download_url":"https://codeload.github.com/melak/openvpn_radauth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248874872,"owners_count":21175920,"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","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":["c","openvpn","radius"],"created_at":"2024-10-15T10:38:17.511Z","updated_at":"2025-04-14T11:41:49.509Z","avatar_url":"https://github.com/melak.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openvpn_radauth\n\nA small helper application that makes it possible to authenticate\n[OpenVPN](http://openvpn.net/) users against a [RADIUS](http://en.wikipedia.org/wiki/RADIUS)\nserver.\n\n**This is _not_ an OpenVPN _plugin_**. This is an _auth-user-pass-verify **script**_.\nA (the?) RADIUS **_plugin_** is available at [NonGNU](http://savannah.nongnu.org/projects/radiusplugin).\nThe plugin is likely to be more powerful, it is also _much_ larger. This script is\ntargeted toward scenarios where storage space is at a premium. Package feed for\n[OpenWRT](https://openwrt.org/) Attitude Adjustment (and eventually newer versions)\n~~is~~might be available at [melak/openwrt-feeds](http://github.com/melak/openwrt-feeds).\n\n## \u0026#x1f435; Configuration\n\nInclude\n\n```\nauth-user-pass-verify /path/to/openvpn_radauth via-env\n```\n\nin openvpn.conf (via-file works too; see the OpenVPN documentation). Set your RADIUS\nserver(s) in _radius.conf_ (in _/etc/openvpn/_ by default, a different path may be\nset at compile-time):\n\n```\nauth\t192.168.1.10\tmekmitasdigoat\n```\n\nopenvpn_radauth uses Juniper libradius snatched from FreeBSD, the full radius.conf manual\ncan be found in [FreeBSD Git](https://cgit.freebsd.org/src/tree/lib/libradius/radius.conf.5)\nrepository. Only the _auth_ service is used.\n\nThere is no way at present to use different RADIUS servers with separate OpenVPN instances\n(save for building a dedicated openvpn_radauth for each and every one of them). Should there be\ndemand for such a feature, it is possible to implement something to that effect.\n\n# Building\n\nHave the AutoTools suite installed. `autoreconf -ivf`, then `./configure --help`.\nMost of the canned output is junk.\n\nlibradius has been slightly modified so that it uses [picohash](https://github.com/kazuho/picohash)\nfor all its hashing and HMAC'ing needs.\n\nCross-compilation using the OpenWRT SDK ~~is possible~~has not been attempted in a long\nwhile. You will likely have to tweak ~~Makefile.rules~~stuff.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelak%2Fopenvpn_radauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelak%2Fopenvpn_radauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelak%2Fopenvpn_radauth/lists"}