Last active
February 19, 2024 17:15
-
-
Save ouyen/08c7895dde30bc602d92f1a0d4f35c8c to your computer and use it in GitHub Desktop.
pkuvpn.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo PASSWORD | openconnect --script-tun --script "ocproxy -D 7900 -g -k 15" --protocol=pulse vpn.pku.edu.cn -u 1900014514 --reconnect-timeout 60 --passwd-on-stdin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this solution work on MacOS? For me, I haven't ever tried to build tools like openconnect by myself before.