Skip to content

pfsense_authserver_radius

Orion Poplawski edited this page Jan 13, 2023 · 1 revision

pfsensible.core.pfsense_authserver_radius


        Manage pfSense RADIUS authentication servers

ADDED IN: version 0.5.0 of pfsensible.core

OPTIONS (= is mandatory):

- acct_port
        RADIUS accounting port
        default: 1813
        type: int

- auth_port
        RADIUS authentication port
        default: 1812
        type: int

- host
        The hostname or IP address of the authentication server
        default: null
        type: str

= name
        The name of the authentication server
        type: str

- nasip_attribute
        IP to use for the "NAS-IP-Address" attribute during RADIUS
        Acccess-Requests, must be an interface name
        default: lan
        type: str

- protocol
        RADIUS protocol
        choices: [PAP, CHAP_MD5, MSCHAPv1, MSCHAPv2]
        default: MSCHAPv2
        type: str

- secret
        RADIUS secret
        default: null
        type: str

- state
        State in which to leave the authentication server
        choices: [present, absent]
        default: present
        type: str

- timeout
        Server timeout in seconds
        default: 5
        type: int


AUTHOR: Orion Poplawski (@opoplawski)

METADATA:
  metadata_version: '1.1'
  status:
  - preview
  supported_by: community

EXAMPLES:

- name: Add adservers authentication server
  pfsense_authserver_radius:
    name: RADIUS
    host: radius.example.com
    secret: password
    nasip_attribute: lan
    state: present

- name: Remove RADIUS authentication server
  pfsense_authserver_radius:
    name: RADIUS
    state: absent