Generate CA, server and client configuration for OpenVPN.
This is a STATIC website so you DON'T need to own a server to host it.
All computation is performed in browser, thanks to Web Assembly.
It's also a PWA, so you can install it like a native App and use it OFFLINE.
- Generate
ca.key
andca.crt
.
- Given
ca.key
andca.crt
, generateserver.key
andserver.crt
. - Generate
dh2048.pem
(extremely slow). - Generate
ta.key
to be shared with every client. - Generate
server.conf
.
- Given
ca.key
andca.crt
, generateclient.key
andclient.crt
. - Generate
client.ovpn
. - Embed
ca.crt
,client.key
,client.crt
andta.key
intoclient.ovpn
(useful for Android and iOS).
Download latest artifact built by GitHub Actions.
My OVPN can be built on Linux and macOS.
For Windows, you may use WSL.
You may use nvm to install node.
npm i -g pnpm
pnpm i
https://emscripten.org/docs/getting_started/downloads.html
git submodule init
git submodule update
pnpm run lib
pnpm run wasm
pnpm run dev
pnpm run lint:fix
pnpm run check
pnpm run build
pnpm run test
pnpm run preview
export LIBRESERVICE_CDN=https://cdn.jsdelivr.net/npm/@libreservice/my-ovpn@VERSION/dist/ # optional
vercel build --prod
vercel deploy --prebuilt --prod
AGPLv3+