Skip to content

oliverl-21/duo-auth-proxy_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cisco DUO Authproxy 6.5.2

Builds Container for DUO Authproxy based on latest version.

The Container is build weekly with the latest DUO Authproxy version and Container Image updates.

Usage:

To register your Duo Authenticaton Proxy, create duo_enrollment.key in your docker compose directory. Add your enrollment key on the first line of that file, from the Duo Admin authentication proxy section.

Create the following directories in your docker compose directory:

  • ./log
  • ./conf
  • ./etc/duoauthproxy

Mount your authproxy.cfg in /opt/duoauthproxy/conf otherwise the container fails to start. For Container logs to work the logging secion in [main]has to be setup correctly

authproxy.cfg

[main]
# true for debugging, otherwise set to false
debug=true
log_max_files=10
log_max_size=20971520
# has to be true for container logs
log_stdout=true

Docker-compose

services:
  duo-auth-proxy:
    image: oliverl21/duo-auth-proxy
    container_name: duo-authproxy
    restart: always
    volumes:
      - ./log:/opt/duoauthproxy/log
      - ./conf/authproxy.cfg:/opt/duoauthproxy/conf/authproxy.cfg
      - ./etc/duoauthproxy:/etc/duoauthproxy
    ports:
      - 1812:1812/udp
      - 1813:1813/udp
    networks:
      - duoproxy
    secrets:
      - duo_enrollment_key

secrets:
  duo_enrollment_key:
    file: ./duo_enrollment.key

networks:
  duoproxy:

The directory structure should look like:

duoproxy/                              # Root directory
├── docker-compose.yml                 # Main Compose file
├── duo_enrollment.key                 # 🔐 Docker secret (enrollment token)
├── conf/                              # Contains authproxy.cfg
│   └── authproxy.cfg
├── log/                               # Duo Auth Proxy logs
└── etc/
    └── duoauthproxy/                  # Location for secret key storage (secrets)

To-Do:

  • if DUO fixes the dependencies switch to alpine:3 as Base image.
  • publish aarch64 version
  • publish image with alma:minimal

Contributors 3

  •  
  •  
  •  

Languages