ocserv
ocserv是一套支援Cisco AnyConnect協定的VPN伺服器軟件。
安裝
sudo apt install -y ocserv; sudo apt clean
設定
Ubuntu預設的systemd設定會使得DTLS(UDP)無法使用,所以要修正:
sudo sed -i -E -e 's/^(Requires=ocserv.socket)/#\1/' -e 's/^(Also=ocserv.socket)/#\1/' /lib/systemd/system/ocserv.service; sudo systemctl stop ocserv; sudo systemctl disable ocserv.service; sudo systemctl disable ocserv.socket; sudo systemctl daemon-reload; sudo systemctl start ocserv; sudo systemctl enable ocserv
外部連結
- 官方網站 (英文)