FreeRADIUS with only EAP-TLS enabled.
This may be useful if you want to use AES on your WiFi.
See below for a quick way to create your PKI or supply your own, then run:
docker run -d -p 1812:1812/udp --restart=always -v pki:/etc/raddb/certs -e CLIENT_ADDRESS=... -e CLIENT_SECRET=... -e PRIVATE_KEY_PASSWORD=... evansgp/radius-eap-tls
Keys and certificates are read from /etc/raddb/certs which is exposed as a volume.
Radius is listening on port 1812 UDP.
The following environment variables are used:
Running the following will create each file not already present in the volume, prompting for input where required and leaving things in the default locations:
laptopgit clone [email protected]:evansgp/docker-radius-eap-tls.git
cd docker-radius-eap-tls
docker build easyrsa -t easyrsa
docker run -it -v pki:/easyrsa/pki easyrsa build-client-full laptop
Repeat for as many clients as you need, supplying a unique name each time. Copy the ca.crt, issued/laptop.crt and private/laptop.key to the client (for e.g.). Some devices require their keys in a different format, for example Android OS, which you can export using:
docker run -it -v pki:/easyrsa/pki easyrsa build-client-full android-phone
docker run -it -v pki:/easyrsa/pki easyrsa export-p12 android-phone
Import private/android-phone.p12 to your device.
Now configure your AP with WPA2 Enterprise, AES, the server IP and client secret.
easy-rsa can quickly generate your certificates and keys.
This probably isn't secure and will most likely rape your dogs and kill your women.
Look after your PKI.
Content type
Image
Digest
Size
5.4 MB
Last updated
almost 7 years ago
docker pull flaminigo/radius-tls