Foxpass's RADIUS proxy. Allows standard RADIUS protocol to be used securely by proxying requests over HTTPS.
This proxy supports regular, plain, basic RADIUS only. No EAP.
Create a Radius Client (on this page: https://www.foxpass.com/settings/radclients/) from the proxy's public ip address. Note the shared secret.
Configure your endpoint to point to this server's IP address (usually the internal address) on pot 1812, using the shared secret from above.
See if it runs (ctrl-c to stop)
python foxpass-radius-proxy.py
You might need to run sudo pip install requests
first.
If that command also fails, you might need to do sudo apt-get install python-pip
to get pip.
Once it starts up, install set it up to start automatically.
sudo cp foxpass-radius-proxy.py /usr/local/bin
And then install the upstart script
sudo cp upstart/foxpass-radius-proxy.conf /etc/init
And then start it
sudo service foxpass-radius-proxy start
If you get errors, look in /var/log/syslog
and /var/log/upstart/foxpass-radius-proxy.log
The proxy can be easily deployed as a container.
docker build -t foxpass-radius-proxy .
docker run --net host foxpass-radius-proxy
Install the start script
sudo cp sysv/foxpass-radius-proxy /etc/init.d/foxpass-radius-proxy
Starts the app.
/etc/init.d/foxpass-radius-proxy start
Stops the app.
/etc/init.d/foxpass-radius-proxy stop
Restarts the app.
/etc/init.d/foxpass-radius-proxy restart
Tells you whether the app is running. Exits with 0 if it is and 1 otherwise.
/etc/init.d/foxpass-radius-proxy status
Install the control script
sudo cp systemd/foxpass-radius-proxy.service /lib/systemd/system/
sudo systemctl enable foxpass-radius-proxy.service
Starts the app.
sudo systemctl start foxpass-radius-proxy
Stops the app.
sudo systemctl stop foxpass-radius-proxy
Restarts the app.
sudo systemctl restart foxpass-radius-proxy
Tells you some statistics about the process and its current state.
sudo systemctl status foxpass-radius-proxy
Messaging handled by journald; access the output using journal
journalctl -u foxpass-radius-proxy.service