tgkonvent
Full Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Как подружить между собой SoftEther сервер и openVPN клиент?! Вроде все нормально настроил. Но OpenVPN рвет связь по причине: Цитата: Fri May 24 13:23:40 2019 VERIFY KU OK Fri May 24 13:23:40 2019 Validating certificate extended key usage Fri May 24 13:23:40 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication Fri May 24 13:23:40 2019 VERIFY EKU OK Fri May 24 13:23:40 2019 VERIFY OK: depth=0, CN=<vpn......>.softether.net, O=<vpn......>.softether.net, OU=<vpn......>.softether.net, C=US Fri May 24 13:23:41 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Fri May 24 13:23:41 2019 [<vpn......>.softether.net] Peer Connection Initiated with [AF_INET]<ip server>:1194 Fri May 24 13:23:42 2019 MANAGEMENT: >STATE:1558693422,GET_CONFIG,,,,,, Fri May 24 13:23:42 2019 SENT CONTROL [<vpn......>.softether.net]: 'PUSH_REQUEST' (status=1) Fri May 24 13:23:42 2019 AUTH: Received control message: AUTH_FAILED | а, в логах сервера SoftEther: Цитата: 2019-05-24 13:48:42.214 The Virtual Hub is now online. 2019-05-24 13:48:42.214 The Local Bridge connection "Microsoft Corporation (ID=2935007007)" has started. The bridge session "SID-LOCALBRIDGE-1" was created. 2019-05-24 13:48:42.542 Session "SID-LOCALBRIDGE-1": A Local Bridge connection to physical Ethernet interface "Microsoft Corporation (ID=2935007007)" was started. 2019-05-24 13:49:12.804 The connection "CID-1-E8DBB239A9" (IP address: <ip_client>, Host name: <ip_client>, Port number: 1450, Client name: "OpenVPN Client", Version: 4.29, Build: 9680) is attempting to connect to the Virtual Hub. The auth type provided is "External server authentication" and the user name is "<user>". 2019-05-24 13:49:12.804 Connection "CID-1-E8DBB239A9": Successfully authenticated as user "<user>". 2019-05-24 13:49:12.804 Connection "CID-1-E8DBB239A9": The new session "SID-<user>-[OPENVPN_L3]-2" has been created. (IP address: <ip_client>, Port number: 1450, Physical underlying protocol: "Legacy VPN - OPENVPN_L3") 2019-05-24 13:49:12.804 Session "SID-<user>-[OPENVPN_L3]-2": The parameter has been set. Max number of TCP connections: 1, Use of encryption: Yes, Use of compression: No, Use of Half duplex communication: No, Timeout: 20 seconds. 2019-05-24 13:49:12.804 Session "SID-<user>-[OPENVPN_L3]-2": VPN Client details: (Client product name: "OpenVPN Client", Client version: 429, Client build number: 9680, Server product name: "SoftEther VPN Server (64 bit)", Server version: 429, Server build number: 9680, Client OS name: "OpenVPN Client", Client OS version: "-", Client product ID: "-", Client host name: "", Client IP address: "<ip_client>", Client port number: 1450, Server host name: "192.168.1.231", Server IP address: "192.168.1.231", Server port number: 1194, Proxy host name: "", Proxy IP address: "0.0.0.0", Proxy port number: 0, Virtual Hub name: "<Name HUB>", Client unique ID: "CB8B55B35478ADAD407EC845D1FCDE8F") 2019-05-24 13:49:17.953 Session "SID-<user>-[OPENVPN_L3]-2": The session has been terminated. The statistical information is as follows: Total outgoing data size: 10424 bytes, Total incoming data size: 1276 bytes. | т.е., аутентификацию данный пользователь прошел. Если же ввести не верно логин и пароль при попытке подключения, то в логах клиента OpenVPN таже самая ошибка и в логах SodtEther появляется ошибка аутентификации. |