Skip to content

Error: RADIUS-PLUGIN: FOREGROUND: common_name is not defined #14

Description

@WW-build

Hi,
I'm having issues while trying to establish VPN connection using Radius module for OpenVPN.
cat radius.cnf

NAS-Identifier=xxxx.domain.name
Service-Type=5
Framed-Protocol=1
NAS-Port-Type=5
NAS-IP-Address=xxx.xxx.xxx.xxx
OpenVPNConfig=/etc/openvpn/server.conf
overwriteccfiles=false
server
{
acctport=1813
authport=1812
name=xxx.xxx.xxx.xxx
retry=1
wait=1
sharedsecret=xxxx
}

cat server.conf

port xxxx
proto tcp-server
dev tun0
tun-mtu 1392
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh2048.pem
server xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
daemon
mode server
tls-server
client-to-client
ifconfig-pool-persist /etc/openvpn/ip.sv
client-config-dir /etc/openvpn/ccd
sndbuf 393216
rcvbuf 393216
keepalive 10 120
max-clients 1000
user openvpn
group openvpn
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log-append /var/log/openvpn/openvpn.log
crl-verify /etc/openvpn/crl.pem
verb 2
tun-mtu 1500
management xxx.xxx.xxx.xxx 5555
duplicate-cn
verify-client-cert none
username-as-common-name
plugin /etc/openvpn/radius/radiusplugin.so /etc/openvpn/radius/radius.cnf

image

Can you please clarify what is exactly wrong with my configuration?

OS: Centos 7 x64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions