A simple and ugly script to help automate some of the deployment process for the Duo Authentication Gateway. This is written specifally for and tested only on CentOS 7.x minimal servers.
Prerequisites:
- The server will need internet access (repo updates, API access to Duo, etc)
- git will need to be installed first
sudo yum install git
- Clone the repo
git clone https://github.com/tylerx626/duo-auth-proxy
- Make the .sh executable
chmod +x duo-centos/duoauthproxy_setup.sh
- Run the script
duo-auth-proxy/./duoauthproxy_setup.sh
- Follow prompts to create directory, user, and group
- Edit the config file as needed per your requirements
vi /opt/duoauthproxy/conf/authproxy.cfg
- Start the service
/opt/duoauthproxy/bin/authproxyctl start
- Run the connectivity tool to test
sudo /opt/duoauthproxy/bin/authproxy_connectivity_tool
Future updates wish-list:
- Error-checking
- Add example config file for different scenarios