Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/freeradius: Add option to enable EAP-PWD #4093

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@
<type>dropdown</type>
<help>Choose the certificate the Radius service should use.</help>
</field>
<field>
<id>eap.enable_pwd</id>
<label>Enable EAP-PWD</label>
<type>checkbox</type>
<help>This enables EAP-PWD authentication</help>
</field>
<field>
<id>eap.pwd_serverid</id>
<label>EAP-PWD server id</label>
<type>text</type>
</field>
<field>
<id>eap.crl</id>
<label>CRL</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<multiple>N</multiple>
<OptionValues>
<md5>MD5</md5>
<pwd>PWD</pwd>
<mschapv2>MSCHAPv2</mschapv2>
<peap>PEAP</peap>
<tls>TLS</tls>
Expand Down Expand Up @@ -36,6 +37,14 @@
<Type>cert</Type>
<Required>N</Required>
</certificate>
<enable_pwd type="BooleanField">
<default>0</default>
<Required>Y</Required>
</enable_pwd>
<pwd_serverid type="TextField">
<default>[email protected]</default>
<Required>Y</Required>
</pwd_serverid>
<crl type="CertificateField">
<Type>crl</Type>
<Required>N</Required>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,13 @@ eap {
}


{% if OPNsense.freeradius.eap.enable_pwd == '1' %}
# EAP-pwd -- secure password-based authentication
#
#pwd {
pwd {
# group = 19

# server_id = [email protected]
server_id = {{ OPNsense.freeradius.eap.pwd_serverid }}

# This has the same meaning as for TLS.
#
Expand All @@ -106,7 +107,8 @@ eap {
# no User-Password, CHAP-Password, EAP-Message, etc.
#
# virtual_server = "inner-tunnel"
#}
}
{% endif %}


# Cisco LEAP
Expand Down