ss with kcptun
install ss
apt search shadowsocks
shadowsocks/kali-rolling,kali-rolling,now 2.9.0-2 all [installed]
Fast tunnel proxy that helps you bypass firewalls
shadowsocks-libev/kali-rolling,now 2.6.3+ds-3 amd64 [installed]
lightweight and secure socks5 proxy
sudo apt install shadowsocks shadowsocks-libev
shadowsocks-libev is a c++ version of shadowsocks, may more faster than the python version
we got 2 command ss-localand ss-server
set up a shadowsocks server
port:888888
set up ss clients
configure files
{
"server":"xx.xx.xx.xx",
"server_port":xx,
"password":"xxxx",
"local_port":1080,
"method":"aes-256-cfb"
}
boot filestart_s
#!/bin/bash
# cd /home/abc
ss-local -c ~/s > ss-local.log 2>&1 &
echo "s-local starts"
use kcptun
Download https://github.com/xtaci/kcptun/releases
server.json
{
"listen": "xx.xx.xx.xx:28800",
"target": "xx.xx.xx.xx:888888",
"key": "xxxx",
"crypt": "aes",
"mode": "fast2",
"autoexpire": 60
}
start_server
#!/bin/bash
cd /root/kcptun
./kcptun_server -c /root/kcptun/server.json
echo "kcptun starts"
client.json
{
"localaddr": ":28800",
"remoteaddr": "xx.xx.xx.xx:28800",
"key": "xxxx",
"crypt": "aes",
"mode": "fast2",
"autoexpire": 60
}
start_client
#!/bin/bash
cd /home/abc/kcptun
./kcp_client -c ~/client.json > kcptun.log 2>&1 &
echo "kcptun_client starts"
need new ss-local file
ss
{
"server":"127.0.0.1",
"server_port":28800,
"password":"ss`s passwd",
"local_port":1080,
"method":"aes-256-cfb"
}
start_ss
#!/bin/bash
#cd /home/abc/ss
ss-local -c ~/ss > ss-local.log 2>&1 &
echo "ss-local srtarts"
#cd /home/abc/ss/kcptun
./kcp_client -c ~/client.json > kcptun.log 2>&1 &
echo "kcptun_client starts"
note:xx.xx.xx.xx is your vps ip
ok ! now u have a socks5 proxy address:127.0.0.1:1080
ss with kcptun的更多相关文章
- 在VPS上搭建SS访问火星
前段时间发布了Visual Studio 2017 RC,由于现在VS没有离线的ISO了,只有一个在线安装文件.虽然可以通过这个在线安装文件生成完整的离线安装包(之前的ISO版本在安装过程中仍然需要联 ...
- x86主机搭建家庭智能路由系统 ---- 设计篇
组件简介 Proxmox: 基于Debian的虚拟化系统,支持OpenVZ和KVM. pfSense: 基于FreeBSD的开源路由系统. FreeNAS: 开源NAS系统. shadowsocks: ...
- [svc]几种访问google方案
最近老被人问起,有什么访问谷歌的方法可以推荐. 针对小白用户(使用sass式即可) iass sass pass区别 小白可以用(无需安装软件,些许收费):googlegae: https://m.2 ...
- 【SS & KCP centos7配置】
1 依赖和环境配置 1.1 升级 yum $ yum update 1.2 安装 screen $ yum install screen 关于 screen 的详情:http://www.vpser. ...
- 用docker搭建ss访问火星
最近弄了个vultr的VPS,便想用它搭个梯子访问火星.由于vultr是支持docker的,便找了个ss的docker镜像: https://hub.docker.com/r/mritd/shadow ...
- kcptun搭建
wget --no-check-certificate https://github.com/kuoruan/shell-scripts/raw/master/kcptun/kcptun.sh sha ...
- 极路由2(极贰)在OpenWrt下定制自己的ss服务
默认刷入的OpenWrt带的ss, 只有ss-redir服务, 但是在实际使用中, 很多时候还是希望访问直接通过正常网关, 只有少部分访问需要通过ss, 所以希望能配置成为ss-local服务. 在保 ...
- 记一次ss故障
本文主要参考: https://github.com/shadowsocks/shadowsocks shadowssocks 分为客户端和服务器端. 我们平时买的服务,使用是要用的是客户端. 如果你 ...
- ss命令和Recv-Q和Send-Q状态
ss 用来显示处于活动状态的套接字信息.ss命令可以用来获取socket统计信息,它可以显示和netstat类似的内容.但ss的优势在于它能够显示更多更详细的有关TCP和连接状态的信息,而且比nets ...
随机推荐
- VNPY 软件架构分析
VNPY 架构设计文档 版本日志: 一. 引言 编写目的: 该软件概要设计说明书是“VNPY”开发中的重要文献资料,所完成的工作是将需求说明书中的数据流图转化成软件结构和数据结构,为后续进行详细设计说 ...
- 实现我的第一个Java程序
第一步.打开记事本 第二步.代码编写 public class Hello{ public static void main( String[] args){ System.out.println(& ...
- CTF资料
题目大概有这么几个 web,密码学,pwn(综合渗透),misc(杂项),reverse(逆向),ppc(编程类) 入门: http://bobao.360.cn/ctf/ 360的CTF训练营ww ...
- 中国地图插件世界地图||jQuery矢量SVG地图插件JVectorMap
中国地图插件|jQuery矢量SVG地图插件JVectorMap https://www.html5tricks.com/jquery-china-map.html 世界地图: https://www ...
- 【转载】JsonLayout log4j2 json格式输出日志
JsonLayout log4j2 json格式输出日志 如果日志输出时,想改变日志的输出形式为Json格式,可以在log4j2.xml中使用JsonLayout标签,使日志输出格式为Json格式. ...
- GMT5 install
there are two imporant modules called gshhg and dcw when installing GMT5; try to state the locations ...
- 2017-10-5模拟赛T2 小Z爱排序(sorting.*)
Description Solution 比赛时找到了规律,但是没有证出来……(当然最后还是AC了……) 显然没有被操作的数在排好序的序列中一定是连续的一段. 所以,没有被操作的数一定从左到右连续地递 ...
- C++标准库之迭代器
迭代器大致可分为: 输入迭代器,InputIterator 输出迭代器,OutputIterator 前行迭代器,ForwardIterator 双向迭代器,BidirectinalIterator ...
- 泊爷带你学go -- 反射的经典玩法
package main import ( "fmt" "reflect" ) type order struct { ordId int customerId ...
- re模块基本用法和字符集
import re # . 能够替代任意字符 r= re.findall("a..c","abbcsd") print(r) # ^ 找最前面的 r_1 = r ...