Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpb587/go-openvpn
Some libraries for OpenVPN tools.
https://github.com/dpb587/go-openvpn
go openvpn
Last synced: 24 days ago
JSON representation
Some libraries for OpenVPN tools.
- Host: GitHub
- URL: https://github.com/dpb587/go-openvpn
- Owner: dpb587
- License: mit
- Created: 2018-09-15T03:23:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T06:39:14.000Z (over 6 years ago)
- Last Synced: 2024-10-30T18:13:32.639Z (2 months ago)
- Topics: go, openvpn
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-openvpn
Some libraries for [OpenVPN](https://openvpn.net/) tools.
## Utilities
### `ovpn-to-onc`
Convert an OpenVPN profile `*.ovpn` file into an [ONC](https://chromium.googlesource.com/chromium/src/+/master/components/onc/docs/onc_spec.md) `*.onc` file for use in Chrome OS:
$ ovpn-to-onc < vpn.ovpn > converted-vpn.onc
### `ovpn-to-json`
Convert a profile into JSON to split out directives and their arguments...
$ ovpn-to-json < vpn.ovpn | jq -r .cipher[0]
AES-256-CBC$ ovpn-to-json < vpn.ovpn | jq -r .key
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA0haiWp2QxsJLsN2YkGiDUlT4CRxR95L8H6BkF/cla1uwZBJ9## License
[MIT License](LICENSE)