随笔分类 -  LINUX 相关

摘要:端口映射配置 # Generated by iptables-save v1.4.21 on Sat May 8 08:46:36 2021 *nat :PREROUTING ACCEPT [141:13746] :INPUT ACCEPT [82:5267] :OUTPUT ACCEPT [1:7 阅读全文
posted @ 2021-05-08 20:45 嗷嗷鹿鸣[VX|dshoub] 阅读(92) 评论(0) 推荐(0) 编辑
摘要:#!/bin/sh cat>/etc/iproute2/rt_tables<<EOF # # reserved values # 255 local 254 main 253 default 0 unspec # # local # #1 inr.ruhep EOF for i in `seq 10 阅读全文
posted @ 2021-05-07 00:21 嗷嗷鹿鸣[VX|dshoub] 阅读(1857) 评论(0) 推荐(0) 编辑
摘要:有些linux发行版默认使用dhcpcd这个软件去自动获取计算机的ip,但由于某种情况,我们需要配置静态ip。 修改配置文件/etc/dhcpcd.conf,在文件最后加入以下语句: interface ethX static ip_address=192.168.xxx.xxx/24 #这里用CI 阅读全文
posted @ 2021-04-25 11:25 嗷嗷鹿鸣[VX|dshoub] 阅读(1133) 评论(0) 推荐(0) 编辑
摘要:set SS5_SRV set SS5_AUTHCACHEAGE 60 set SS5_AUTHOCACHEAGE 60 auth 0.0.0.0/0 - u permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - - bandwidth limituser 20 512000 阅读全文
posted @ 2021-04-15 00:23 嗷嗷鹿鸣[VX|dshoub] 阅读(490) 评论(0) 推荐(0) 编辑
摘要:下载地址: wget https://raw.githubusercontent.com/oooldking/script/master/superbench.sh chmod +x superbench.sh ./superbench.sh #!/usr/bin/env bash # # Desc 阅读全文
posted @ 2021-04-11 18:54 嗷嗷鹿鸣[VX|dshoub] 阅读(170) 评论(0) 推荐(0) 编辑
摘要:一般情况下,安装rp-pppoe包后,使用pppoe-setup进程配置拨号,然后使用pppoe-start进行拨号,这是官方文档中给出的做法 但在多拨环境中,就力不从心了,使用pon peer拨号可以很好地进行多拨 在/etc/ppp/peers里加入所要的拨号,然后使用pon peers的名字就 阅读全文
posted @ 2021-04-02 11:57 嗷嗷鹿鸣[VX|dshoub] 阅读(955) 评论(0) 推荐(0) 编辑
摘要:导读 Arch Linux是一个通用的滚动发行版Linux,一旦系统或者软件有新版本发布,你就可以升级它们。深受DIY爱好者和Linux核心用户的欢迎。默认安装只覆盖最小的基本系统,并希望用户自行配置系统。这就是为什么安装Arch Linux本身就是一个挑战,但同时,它也是中级Linux用户的一个学 阅读全文
posted @ 2021-03-30 21:23 嗷嗷鹿鸣[VX|dshoub] 阅读(204) 评论(0) 推荐(0) 编辑
摘要:secrets参数 也可以通过secrets参数来设定多组认证信息: gost -L=:8080?secrets=secrets.txt secrets.txt文件格式为按行分割的认证信息,每一行认证信息为用空格分割的user-pass对,以 # 开始的行为注释行。 # period for liv 阅读全文
posted @ 2021-03-26 13:52 嗷嗷鹿鸣[VX|dshoub] 阅读(522) 评论(0) 推荐(0) 编辑
摘要:在Openwrt下使用USB外挂存储磁盘IO会成为瓶颈,如果带宽足够纯粹做为透明代理可以关闭磁盘缓存功能。1.修改缓存策略为null 1 cache_dir null /tmp 2.或者定义禁止缓存GET请求: 1 2 acl NCACHE method GET no_cache deny NCAC 阅读全文
posted @ 2021-03-17 19:51 嗷嗷鹿鸣[VX|dshoub] 阅读(1096) 评论(0) 推荐(0) 编辑
摘要:shell中if做比较 shell判断数组中是否包含某个元素: ary=(1 2 3) a=2 if [[ "${ary[@]}" =~ "$a" ]] ; then echo "a in ary"else echo "a not in ary"fi 判读字符串($str)是否包含另一个字符串($s 阅读全文
posted @ 2021-03-12 13:00 嗷嗷鹿鸣[VX|dshoub] 阅读(443) 评论(0) 推荐(0) 编辑
摘要:一、UDPspeeder 1、安装 (VPS端) wget https://github.com/wangyu-/UDPspeeder/releases/download/20180522.0/speederv2_binaries.tar.gz tar -xzvf speederv2_binarie 阅读全文
posted @ 2021-02-09 12:07 嗷嗷鹿鸣[VX|dshoub] 阅读(7) 评论(0) 推荐(0) 编辑
摘要:使用libreswan部署l2tp https://libreswan.org/wiki/VPN_server_for_remote_clients_using_IKEv1_with_L2TP 部署脚本(自已总结) 1 #!/bin/sh 2 ##原文https://blog.51cto.com/i 阅读全文
posted @ 2021-02-05 12:48 嗷嗷鹿鸣[VX|dshoub] 阅读(6) 评论(0) 推荐(0) 编辑
摘要:radiusmanager 4.1.6 2014年 终结版 自动安装ISO 链接:https://share.weiyun.com/5ObQu9B文件: Radiusmanager416-141113.iso大小: 416100352 字节修改时间: 2014年11月14日, 20:00:41MD5 阅读全文
posted @ 2021-01-21 00:07 嗷嗷鹿鸣[VX|dshoub] 阅读(1063) 评论(0) 推荐(0) 编辑
摘要:tshark是命令行抓包工具 tshark filter field reference tcp protocol fields mysql protocol fields http protocol fields memcache protocol fields Java RMI fields R 阅读全文
posted @ 2021-01-16 23:08 嗷嗷鹿鸣[VX|dshoub] 阅读(2662) 评论(0) 推荐(0) 编辑
摘要:1 rsock https://github.com/iceonsun/rsock 对UDP协议进行底层多路复用,可以实现突破运营商对带宽的限制,可以配置kcptun使用 rsock仅仅不是加速(加速目前由kcptun进行),也不是vpn,而是把udp流量转换成多条伪tcp/正常udp流量。 rso 阅读全文
posted @ 2021-01-16 21:48 嗷嗷鹿鸣[VX|dshoub] 阅读(361) 评论(0) 推荐(0) 编辑
摘要:上网配置 id使用cat /proc/sys/kernel/random/uuid 获取 { "inbounds": [{ "port": 2088, "protocol": "vmess", "settings": { "clients": [ { "id": "9ec43ee9-651d-435 阅读全文
posted @ 2021-01-09 10:27 嗷嗷鹿鸣[VX|dshoub] 阅读(1280) 评论(0) 推荐(0) 编辑
摘要:VTWOray /etc/vtworay/config.{ "log": { "access": "/var/log/vTWOray/access.log", "loglevel": "warning" }, "inbounds": [{ "tag":"iptables", "port": 8888 阅读全文
posted @ 2021-01-03 22:08 嗷嗷鹿鸣[VX|dshoub] 阅读(2144) 评论(0) 推荐(0) 编辑
摘要:一、 安装CENTOS7两台,一台做master,一台做node Mast :192.168.140.101 Node: 192.168.140.102 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/ 阅读全文
posted @ 2020-12-29 15:09 嗷嗷鹿鸣[VX|dshoub] 阅读(176) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示