Browse Source

Update README.MD

MoeClub 3 years ago
parent
commit
4926615726
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AnyConnect/README.MD

+ 1 - 1
AnyConnect/README.MD

@@ -44,7 +44,7 @@ bash <(wget --no-check-certificate --no-cache -4 -qO- "https://raw.githubusercon
 # 修改 SSH 端口 (改为 9527)
 sed -i "s/^#\?Port .*/Port 9527/g" /etc/ssh/sshd_config;
 # 修改 ocserv 端口(TCP 改为 23443)
-sed -i "s/^#\?tcp-port .*/tcp-port 23443/g" /etc/ocserv/ocserv.conf;
+sed -i "s/^#\?tcp-port.*/tcp-port=23443/g" /etc/ocserv/ocserv.conf;
 # 生成用户证书(根据CA证书验证,如果部署多个.请保证CA证书相同)
 bash /etc/ocserv/template/client.sh -g <分组名字> -p <证书密码,苹果设备不能为空>
 ```