ossh portal strongswan openswan freeradius討論QQ羣:892427461
ossh+freeradius+daloradius+ad認證實現wlan+portal+域賬戶認證
第一部分 centos7安裝配置華爲ossh portal服務器
試驗時間:2019年2月20日
拓撲圖
環境:
AC: AC6005: IP地址:10.100.0.50
AP: AP6310
服務器:
域控服務器:
Windows Server2019
IP地址:10.99.101.207 域名:dc.test.com
ossh服務器:
Centos7
IP地址:10.99.101.206
freeradius服務器:
Centos7
IP地址:10.99.101.205
客戶端:Windows10 ltsc
安卓9.0
第一部分 centos7安裝配置華爲ossh portal服務器
試驗時間:2019年2月20日
1、 CentOS 7 最小安裝,隨意,其他也可以。
設置IP地址
cd /etc/sysconfig/networks-scripts vi ifcfg-eno16777736
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.99.101.206
NETMASK=255.255.255.0
GATEWAY=10.99.101.1
DNS1=192.168.7.1
systemctl restart network
2、 關閉selinux
vi /etc/sysconfig/selinux
SELINUX=disabled
reboot
sestatus
SELinux status: disabled
3、下載jre並安裝
yum install wget -y wget -O jre-7u6-linux-x64.rpm http://javadl.sun.com/webapps/download/AutoDL?BundleId=67387 yum install jre-7u6-linux-x64.rpm
java -version java version "1.7.0_06" Java(TM) SE Runtime Environment (build 1.7.0_06-b24) Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
4、下載安裝ossh
鏈接:https://pan.baidu.com/s/1pBabreKFYhV0fIV0MCOqxg
提取碼:oebs
安裝ossh
tar -xzvf ./portalServer_2014-2-21.tar.gz mv ./portalServer /usr/local
5、編輯配置文件
vi /usr/local/portalServer/webapps/portalServer/WEB-INF/classes/configs.prod.properties
#AC6005地址
acHost = 10.100.0.50
acPort = 2000
sharedSecret = www.ossh.org
#chap 0 pap 1
authType=0
timeoutSec=3
添加權限
chmod +x /usr/local/portalServer/bin/startup.sh chmod +x /usr/local/portalServer/bin/catalina.sh chmod +x /usr/local/portalServer/bin/shutdown.sh
啓動portalServer 服務
/usr/local/portalServer/bin/startup.sh
打開防火牆端口
firewall-cmd --add-port=8088/tcp --permanent firewall-cmd --reload
安裝成功