页面“IT支持”与“Mtp on kcptun”之间的差异

来自linux中国网wiki
(页面间的差异)
跳到导航 跳到搜索
 
(创建页面,内容为“ =国外节点 安装 mtp and kcptun server = ==安装 mtp== <pre> bash <(wget -qO- https://git.io/mtg.sh) mtg 得到 国外节点的mtp info https://t.…”)
 
第1行: 第1行:
=路由os 在企业=
 
推荐ros做路由 ! panabit做行为审计 这些都低成本 前提是你企业少于254个用户!超过254个用户panabit要升级[[用户:Evan|Evan]]([[用户讨论:Evan|讨论]])收钱!
 
  
買兩台工控機、然後上 pfSense HA config、以前這配置救過我一命。
+
=国外节点 安装  mtp and  kcptun server =
  
= pfSense=
+
==安装  mtp==
 +
<pre>
 +
bash <(wget -qO- https://git.io/mtg.sh)
 +
mtg
  
https://docs.netgate.com/pfsense/en/latest/install/install-walkthrough.html
+
得到 国外节点的mtp info 
  
 +
https://t.me/proxy?port=15854&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=109.182.27.193
 +
<pre>
  
[https://blog.51cto.com/fxn2025/2447266 pfSense2.4.4安装和配置]
+
==kcpturn server  ==
 +
<pre>
 +
os init
  
[https://www.cnblogs.com/lsdb/p/10006377.html  pfSense-2.4.4安装教程 ]
+
ulimit -n 65535, or write it in ~/.bashrc.
  
[https://pfschina.org/wp/?p=825 pfSense上的OpenVPN:启用对远程LAN资源的访问]
+
Suggested sysctl.conf parameters for better handling of UDP packets:
  
[https://blog.csdn.net/qq_34046456/article/details/85302245  在虚拟机上安装PFsense详细图解]
+
net.core.rmem_max=26214400
 +
net.core.rmem_default=26214400
 +
net.core.wmem_max=26214400
 +
net.core.wmem_default=26214400
 +
net.core.netdev_max_backlog=2048
  
[https://blog.csdn.net/qq_34046456/article/details/85302245  在虚拟机上安装PFsense详细图解]
 
  
[https://blog.csdn.net/myhaspl/article/details/13017061?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1.control  网络防火墙实战-基于pfsense(3)]
+
app install
== PF VPN==
+
wget    https://github.com/xtaci/kcptun/releases/download/v20201126/kcptun-linux-amd64-20201126.tar.gz
  
[https://blog.csdn.net/u012375924/article/details/95338118?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-5.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-5.control  ESXI + pfsense + 公网ip ,实现内网服务器端口映射]
 
[https://chrislazari.com/pfsense-setting-up-openvpn-on-pfsense-2-4/  PFSense – Setting Up OpenVPN on PFSense 2.4.]
 
  
=openwrt=
+
  wget  -c    https://github.com/xtaci/kcptun/releases/download/v20201126/kcptun-linux-386-20201126.tar.gz
  美国网件(NETGEAR) WNDR4300 750M双频千兆无线路由器
 
  
有哪些 官方支持的水星型号
+
./server_linux_386 -l :80 -t 127.0.0.1:15854 -key eller -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2  -sockbuf 16777217  2>&1 &</pre>
https://openwrt.org/toh/hwdata/mercury/start
 
  
[https://zhuanlan.zhihu.com/p/108934048 OpenWrt刷机详细流程(极路由)]
+
= 国内节点 安装 kcptun client =
  
[https://zhuanlan.zhihu.com/p/101006349 树莓派软路由 OpenWrt 简介]
+
/root/kcptun/client_linux_amd64 -l :80 -r 107.182.27.193:80 -key eller -mtu 1400 -sndwnd 256 -rcvwnd 2048 -mode fast2 -conn 4  -sockbuf 16777217  2>&1 &
  
[https://www.zhihu.com/question/30771491 哪些路由器对OpenWrt支持较好?]
 
  
https://www.mercusys.com/en/download/mw325r
+
最后用了国内节点的 mtp 如下
 
+
  https://t.me/proxy?port=80&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=110.231.144.243
https://openwrt.org/supported_devices
+
=see also=
 
+
https://github.com/xtaci/kcptun
https://openwrt.org/toh/hwdata/mercury/start
 
 
 
==小米路由器4A 千兆版==
 
[https://www.yeliulee.com/archives/149.html/comment-page-1?replyTo=312 小米路由器 4A 刷入lean 的 openwrt/lede]
 
 
 
[https://www.right.com.cn/forum/thread-4045479-1-1.html 小米4A千兆版终极刷openwrt办法,内附自编译固件带$$R ]
 
 
 
[https://www.wyr.me/post/619 小米路由器4免拆机刷OpenWrt教程]
 
 
 
[https://www.zhihu.com/question/333990425 小米路由器4A千兆版能不能刷Openwrt]
 
 
 
=ros Mikrotik=
 
[https://www.zhihu.com/question/21034719 如何评价极路由 HiWiFi]
 
 
 
[https://www.jianshu.com/p/e38851f9de2f Mikrotik无线路由器快速设置教程]
 
 
 
https://openwrt.org/zh/start
 
 
 
[https://blog.netlab.360.com/7500-mikrotik-routers-are-forwarding-owners-traffic-to-the-attackers-how-is-yours/ 窃听风云: 你的MikroTik路由器正在被监听]
 
 
 
https://www.zhihu.com/topic/19653984/hot
 
 
 
[https://zhuanlan.zhihu.com/p/101006349 树莓派软路由 OpenWrt 简介]
 
 
 
=路由器如何当交换机用=
 
公司的无线非常的卡 ,于是把一个坏的无线路由拿过来当作交换机 ,这样 win debian 都可以用上有钱的 当然 自己带了两段网线
 
 
 
# 关掉这个路由的DHCP功能
 
#改掉LAN口IP地址
 
#最网线不要接WAN接口  ,一个AP成功配置
 
 
 
[https://product.pconline.com.cn/itbk/wlbg/hiwifi/1702/8881901.html 路由器如何当交换机用]
 
 
 
[https://www.192ly.com/router-settings/mercury/mw325r-swsz.html 水星(MERCURY)MW325R路由器怎么设置]
 
 
 
=双系统之win=
 
2020年 08月 14日 星期五 15:37:29 CST
 
如何删除双系统中的一个系统
 
 
 
场景  本本有两个 win7  一个在ssd  ssd上的win7坏了 ,我重新安装win10 on ssd  但是又不见了 虽然第一启动是ssd
 
 
 
后来 在“运行”中我们输入“msconfig”然后点击“确定”,进入系统引导盘中  系统配置--》引导  把要的设置为默认 ,不要的也可以删除  然后就好了 开机是原来在ssd上的win7有点怪 不理了
 
 
 
=进入 bios=
 
==asus==
 
1、按电源键开机或重启,在启动过程中,不停按ESC键;
 
 
 
2、调出Please Select Boot Device,这个是启动项选择界面,可以直接选择启动项,也可以从这边进BIOS,那就是按↓方向键,移动到Enter Setup这个项,然后按Enter键即可进入。
 
 
 
http://www.xitongcheng.com/jiaocheng/xtazjc_article_44070.html
 
 
 
=缺少 api-ms-win-crt-runtime-l1-1-0.dll=
 
==问题出现 ==
 
 
 
运维组的其它小伙伴都请假了,于是我就暂时成为IT支持
 
 
 
“有个新来的同学电脑 出问题了 ” 前台妹子又出现了
 
 
 
 
 
一同学安装画板驱动时出现如下
 
错误:缺少 api-ms-win-crt-runtime-l1-1-0.dll
 
 
 
 
 
角斗办法 :
 
自己选择相对应的版本下载
 
https://support.microsoft.com/zh-cn/help/2999226/update-for-universal-c-runtime-in-windows
 
 
 
其它小伙伴说的什么 重装 删除注册表并是是最佳 办法
 
 
 
==参考 ==
 
 
 
https://helpx.adobe.com/cn/creative-cloud/kb/error_on_launch.html
 
 
 
[[category:ops]]
 

2020年12月11日 (五) 06:03的版本

国外节点 安装 mtp and kcptun server

安装 mtp

bash <(wget -qO- https://git.io/mtg.sh)
 mtg 

	得到 国外节点的mtp info  

https://t.me/proxy?port=15854&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=109.182.27.193
<pre>

==kcpturn server  ==
<pre>
os init 

ulimit -n 65535, or write it in ~/.bashrc.

Suggested sysctl.conf parameters for better handling of UDP packets:

net.core.rmem_max=26214400 
net.core.rmem_default=26214400
net.core.wmem_max=26214400
net.core.wmem_default=26214400
net.core.netdev_max_backlog=2048 


app install 
 wget    https://github.com/xtaci/kcptun/releases/download/v20201126/kcptun-linux-amd64-20201126.tar.gz


 wget  -c    https://github.com/xtaci/kcptun/releases/download/v20201126/kcptun-linux-386-20201126.tar.gz

./server_linux_386 -l :80 -t 127.0.0.1:15854 -key eller -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2  -sockbuf 16777217   2>&1 &

国内节点 安装 kcptun client

/root/kcptun/client_linux_amd64 -l :80 -r 107.182.27.193:80 -key eller -mtu 1400 -sndwnd 256 -rcvwnd 2048 -mode fast2 -conn 4  -sockbuf 16777217  2>&1 &


最后用了国内节点的 mtp 如下

https://t.me/proxy?port=80&secret=ee579b292c6e87db4d0e1ac6dcb598b1d062696e672e636f6&server=110.231.144.243

see also

https://github.com/xtaci/kcptun