Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

Dockerfile

FROM ubuntu:16.04
MAINTAINER Fabian Baier fabian@mesosphere.com
RUN apt-get update && apt-get -y install build-essential pkg-config libffi-dev libssl-dev python-pip python-dev tar wget && pip install --upgrade pip && pip install cryptography && pip install pyOpenSSL==16.0.0

#RUN apt-get update && apt-get -y install wget build-essential

#RUN wget https://dl.duosecurity.com/duoauthproxy-latest-src.tgz && tar xzf duoauthproxy-latest-src.tgz && cd duoauthproxy-2.4.17-src && export PYTHON=python2.7 && make && cd duoauthproxy-build && ./install

authproxy.cfg

[radius_client]
host=someip
secret=somesecret

[radius_server_auto]
ikey=somelongkey
skey=somelongsecret
api_host=api.duosecurity.com
radius_ip_1=ip.of.gate.way
radius_secret_1=sharedsecret
client=radius_client
port=1812
failmode=safe

Command

docker pull fabianbaier/duoproxy:ready

docker run -v /root/duosecurity:/opt/duoauthproxy/conf -t -i -p 1812:1812/udp -p 44845:44845/udp fabianbaier/duoproxy:ready /bin/bash -c "opt/duoauthproxy/bin/authproxyctl start; tail -f /opt/duoauthproxy/log/authproxy.log"

/opt/duoauthproxy/bin/authproxyctl start

Docker Pull Command
Owner
fabianbaier