SSH服务器传输加速方法

Written by 大圈 November 9th, 2011 8:24 PM 1 Comments Filed under: 功夫,鸡贼

使用同一VPS,修改前和修改后测试效果:

环境:Peer1VPS+2M联通ADSL,下载测试文件:http://cachefly.cachefly.net/100mb.test

两条指令让SSH传输速度增加数倍:(Debian/Ubuntu)


echo "Compression yes" >> /etc/ssh/sshd_config
/etc/init.d/ssh restart

开启OpenSSH SCP压缩(默认未开通)。

MyEnTunnel客户端别忘了把这个勾打上。就这么简单。

TAGS: 没有

Debian/Ubuntu PPTP VPN 一键安装脚本

Written by 大圈 July 12th, 2011 2:06 PM 2 Comments Filed under: 功夫

此脚本可在 开启Tun/Tap支持的OpenVZ VPS、XEN VPS、独立服务器。

CentOS版的一键包到处都是,虽说Debian粉动手能力强,但为了方便初级用户我弱弱的写个,高手请无视

第一步:确认拥有Root权限

第二步:下载、运行脚本

Read the rest of this entry »

TAGS: 没有

Debian/Ubuntu下搭建L2TP/IPsec VPN教程

Written by 大圈 December 29th, 2010 6:06 PM 4 Comments Filed under: 功夫

本节开讲如何搭建PPTP和L2TP,本人大便犯不熟悉其他版本的linux,先做个Debian/Ubuntu教程。

首先先引入名称解释。
IPSec,神马是IPSec就是互联网协议加密(Internet Protocol Security)滴缩写。加密和认证以保护通讯安全的协议。
L2TP则是对IPSec包装传输的穿隧协议(Tunneling Protocol)。L2TP本身是不加密只有结合IPSec才能实现VPN。
Openswan是Linux下实现的IPSec的工具。

Read the rest of this entry »

TAGS: Debian, L2TP, Ubuntu, VPN

Windows XP / Windows 7使用PPTP/L2TP VPN教程

Written by 大圈 December 28th, 2010 11:23 PM 10 Comments Filed under: 功夫

Windows 7 PPTP/L2TP VPN设置方法

第一步:点击屏幕右下方网络连接图标,点击打开网络和共享中心

第二步:点击设置新的连接或网络,下一步

Read the rest of this entry »

TAGS: WindowsXP, Windows7, L2TP, IPSec

自动创建SSH用户,限制用户使用Shell并发送登录信息到指定邮箱脚本For Debian+Exim4(更新CentOS版)

Written by 大圈 November 23rd, 2010 5:24 PM 96 Comments Filed under: 功夫,鸡贼

适用于:VPS/DS开设SSH fuck墙帐户

内置用户权限限制shell,开设出的帐号无法使用shell只能用于fuck墙。

为用户自动生成密码,并可自定义用户密码有效期。

下载脚本
Debian版

wget --no-check-certificate http://chinatoosex.com/script/ssh.sh

CentOS版

wget --no-check-certificate http://chinatoosex.com/script/sshforcentos.sh

修改脚本

vim ssh.sh 

 

SSH_SERVER=修改为你的SSH服务器地址
SSH_SERVER_PORT=根据SSHD配置修改端口

Read the rest of this entry »

TAGS: 没有