|
|
@@ -19,7 +19,7 @@ iptables -t nat -A PREROUTING -d <本机地址> -p tcp --dport <本机端口> -j
|
|
|
iptables -t nat -I POSTROUTING -d <远程地址> -p tcp --dport <远程端口> -j MASQUERADE
|
|
|
```
|
|
|
|
|
|
-# ocserv.sh (Debian x64 8+ / CentOS 6+ /Ubuntu 14+ )
|
|
|
+# ocserv.sh (Debian x64 8+ / CentOS 6+ / Ubuntu 14+)
|
|
|
```
|
|
|
bash <(wget --no-check-certificate --no-cache -4 -qO- "https://raw.githubusercontent.com/MoeClub/Note/master/AnyConnect/ocserv.sh")
|
|
|
```
|