標題: Installation of Openconnect Server on QNAP NAS Virtualisation Station [打印本頁] 作者: 角色 時間: 2018-8-26 22:01 標題: Installation of Openconnect Server on QNAP NAS Virtualisation Station
本帖最後由 角色 於 2018-9-13 07:13 編輯
因为之前有位member [1] 提及过逗比根据地 [2], 里面有提及过怎样一键安装Openconnect server [3,4].
由于我在香港有一台QNAP NAS TS-453 Pro (Intel-based J1900 CPU,有Virtualisation Station and Container Station),在Virtualisation Station安装Debian 8.11. 然后按照一键安装方法下载和安装Openconnect server,整个流程也非常简单。
When you're asked Install the GRUB boot loader to the master boot record?, select Yes:
The installer might ask you in which partition Grub shall be installed. This server has just one harddisk, so I choose /dev/sda here.作者: 角色 時間: 2018-8-26 22:36
本帖最後由 角色 於 2018-8-26 22:41 編輯
安装好image后,我们要用putty port 22进入Debian系统。因为我要remote ssh login香港的Debian系统,我不用port 22,改用别的port number,remote ssh login时做port forwarding。
当上面的router port forwarding tasks做好后,我们可以用putty进入Debian系统,然后cut-and-paste下面的指令:
# Specify the size of the network to provide to clients. It is
# generally recommended to provide clients with a /64 network in
# IPv6, but any subnet may be specified. To provide clients only
# with a single IP use the prefix 128.
#ipv6-subnet-prefix = 128
#ipv6-subnet-prefix = 64
# tunnel-all-dns = true
dns = 8.8.8.8
dns = 8.8.4.4
ping-leases = false
# Beginning of no-route, the following no-routes will be pushed to the client when connected. If all no-routes are removed, then all the traffic will be directed the remote gateway, i.e., Openconnect server gateway