Cannot access WebUI or SSH on a SecurePlatform security gateway.
When trying to connect to the WebUI, after the certificate popup, the following message is displayed: "Cannot connect to server. Make sure the device is up and running and that you are allowed to login from this machine."
For SSH, the following error message pops up: "Server unexpectedly closed network connection."
Cause
The connection is rejected because it is not coming from an acceptable IP. The user has unchecked "Any" client in the Web and SSH clients page of the Device tab in the WebUI.
Solution
Proceed as follows:
On the security gateway command line, type cd /etc and access the hosts.allow file. This file contains the list of acceptable IPs for SSH and WebUI clients to the security gateway.
Add the line ALL:ALL to this file.
Then, access the WebUI and add the appropriate client IPs on the Web and SSH Clients page of the Device tab.
症状:
不能使用WebUI或SSH登录到SecurePlatform的安全网关
当使用WebUI连接时,在验证证书后,显示下列消息:“Cannot connect to Server. Make sure the device is up and running and that you are allowed to login from this machine”
对于SSH,弹出下列消息:"Server unexpectedly closed network connection"