Blog

vpn4in1安装一键脚本

    pptp+openvpn(obfsproxy)+l2tp+shadowsocks集成安装脚本,没测试过,主要是没有kvm的小鸡来测试openvpn和l2tp,有兴趣的可以试下,有问题可以反馈给我。

    首先安装git,下面这个git安装方法只适用于centos5.x 32位,其他系统自己弄

yum install zlib-devel  openssl-devel perl cpio expat-devel gettext-devel autoconf -y
wget -P /etc/yum.repos.d/ http://geekery.altervista.org/geekery-el5-i386.repo
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm 
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm 
wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/epel-release-5-4.noarch.rpm 
rpm -ivh epel-release-5-4.noarch.rpm
yum -y install git

centos 64位使用如下代码

yum install zlib-devel  openssl-devel perl cpio expat-devel gettext-devel autoconf -y
wget -P /etc/yum.repos.d/ http://geekery.altervista.org/geekery-el5-x86_64.repo
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm 
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm 
wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm 
rpm -ivh epel-release-5-4.noarch.rpm
yum -y install git

接下来就安装脚本了

 git clone https://github.com/crazw/vpn4in1.git
 cd vpn4in1/
 sh vpn4in1.sh 2>&1 | tee vpn4in1.log

项目地址:vpn4in1

没有评论

Leave a Reply