0%

GitHub 神一样的存在

fluidicon

昨天把手头的iPhonePlus、iPad pro、MacBook pro更新到了iOS10和MacOS10.12,然而苹果抛弃了PPTP协议,而我之前在VPS上搭建的就是PPTP协议的VPN,好尴尬。

今天上GitHub找了个支持OpenVZ的Cisco-IPSec-VPN-Install的shell,一分钟完成Cisco-IPSec-VPN的搭建。

链接在这里:https://github.com/lokyshin/Cisco-IPSec-VPN-Install 

这个脚本完美支持搬瓦工这样的OpenVZ技术的VPS。

其他人对GitHub的理解:https://www.bmpi.dev/self/use-github-better/

搭建方法:“ wget –no-check-certificate https://raw.githubusercontent.com/lokyshin/Cisco-IPSec-VPN-Install/master/CIVInstall.sh && chmod +x CIVInstall.sh && bash CIVInstall.sh 2>&1 tee civaws_install.log ”

执行时会自动生成CA证书,会询问新建的账号名密码等。需要注意的是:

每次重启服务器后,不要忘了手动运行“bash startvpn.sh”,当然,也可以配置成自动启动。用户配置文件位置在/usr/local/etc/ipsec.secrets,可以自己添加账号,而每个账号也没有什么登录限制。


Airbnb:https://github.com/airbnb Alibaba(阿里巴巴):https://github.com/alibaba Apple:https://github.com/apple Baidu(百度):https://github.com/baidu bilibili(哔哩哔哩):https://github.com/Bilibili Bytedance Inc(字节跳动):https://github.com/bytedance Close:https://github.com/closeio Ctrip, Inc(携程):https://github.com/ctripcorp DiDi(滴滴出行):https://github.com/didi Douban Inc(豆瓣):https://github.com/douban eleme(饿了么):https://github.com/eleme Facebook:https://github.com/facebook Google:https://github.com/google HUAWEI Noah’s Ark Lab:https://github.com/huawei-noah Lyft:https://github.com/lyft Medium:https://github.com/Medium Meili Inc:https://github.com/meili meitu(美图):https://github.com/meitu Netflix, Inc:https://github.com/Netflix Tencent(腾讯):https://github.com/tencent Twitter:https://github.com/twitter Uber Open Source:https://github.com/uber Vimeo:https://github.com/vimeo Xiaomi(小米):https://github.com/xiaomi Zhihu(知乎):https://github.com/zhihu 罗辑思维 | 得到App:https://github.com/luojilab 美团:https://github.com/meituan-dianping 唯品会:https://github.com/vipshop

如何注册美区苹果账号:

https://github.com/getlantern/lantern/wiki/%E5%A6%82%E4%BD%95%E6%B3%A8%E5%86%8C%E7%BE%8E%E5%8C%BA%E8%8B%B9%E6%9E%9C%E8%B4%A6%E5%8F%B7

-------------本文结束 感谢阅读-------------