diff options
author | Phil Davis <phil.davis@inf.org> | 2016-07-20 17:09:25 +0930 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-07-20 17:09:25 +0930 |
commit | 10d4fe2e5babaaae4351436cf3f4996c66e53228 (patch) | |
tree | 0a04b7c0706e0e3935dd05e9bbcb897e8dbdb5d0 /src/etc/inc/openvpn.inc | |
parent | c9d6b915daced9767ff596ee9485ec2d9a573a41 (diff) | |
download | pfsense-10d4fe2e5babaaae4351436cf3f4996c66e53228.zip pfsense-10d4fe2e5babaaae4351436cf3f4996c66e53228.tar.gz |
Backport Radius auth server to detect openVPN
Original pull request to master was #3057
Diffstat (limited to 'src/etc/inc/openvpn.inc')
-rw-r--r-- | src/etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/openvpn.inc b/src/etc/inc/openvpn.inc index 7f2897a..dc28520 100644 --- a/src/etc/inc/openvpn.inc +++ b/src/etc/inc/openvpn.inc @@ -849,7 +849,7 @@ function openvpn_reconfigure($mode, $settings) { if ($settings['strictusercn']) { $strictusercn = "true"; } - $conf .= "auth-user-pass-verify \"/usr/local/sbin/ovpn_auth_verify user '{$settings['authmode']}' {$strictusercn} {$mode_id}\" via-env\n"; + $conf .= "auth-user-pass-verify \"/usr/local/sbin/ovpn_auth_verify user '{$settings['authmode']}' {$strictusercn} {$mode_id} {$settings['local_port']}\" via-env\n"; } break; } |