|
|
landscape router,你的路由系统不一定是openwrt
landscape router:核心优势
eBPF 分流,直连流量性能不受影响,使用 (SIP-CIDR、MAC), 分流对象: (DIP、域名、Geo 匹配规则)
每个流 Flow 独立 dns 配置以及缓存(避免 dns 污染、泄露)
流量导入 Docker 容器,可在容器中运行支持 TProxy 的程序进行扩展
地理关系库管理, 支持 DAT/TXT 格式
默认 更严格的 NAT4, 但可让指定 IP/域名 使用 NAT1, 方便进行组网等操作
提供 API, 可通过 API 操作所有在 UI 上可操作的内容。
目前楼主当成主路由使用快两个月的情况下,给出自己的一些反馈。
1、使用的日常情况下没有出现断流的情况。
2、游戏延迟十分的稳定,不会在游戏中出现明显的网络波动(目前为止LOL没有遇到延迟超过40ms,一般都在10ms左右,和平精英一班在20ms左右)。
3、分流的情况下,十分的流畅和稳定,不会出现dns的泄露问题。
4、需要什么功能,可以直接在docker中添加,不会出现找不到插件的情况。
楼主的机器,一块旧的笔记本主板,cpu i3-3110,一个千兆网口,一个usb的千兆网口。(主板功耗大概在15瓦左右)跑起来十分够用,并且性能还有富余。。。
具体的安装步骤如下:
所有的脚本命令都是在CyberRookie-X
这位大佬的文章中复制的,连接如下:https://github.com/CyberRookie-X ... 6%8C%87%E5%8D%97.md
也可以参考官方的文档:https://landscape.whileaway.dev/ ... ic/basic/basic.html
简单说明一下安装的步骤吧
1、安装 debian,安装完成后
debian用户:root,非 root 用户请自行添加 sudo
# 修改 sshd_config 文件
nano /etc/ssh/sshd_config
# 插入这一行,或者找到 PermitRootLogin 那一行修改成下面这样亦可
PermitRootLogin yes
编辑结束后,先 ctrl + s 保存,再 ctrl + x 退出。
# 重启 ssh 或 重启系统
systemctl restart ssh
2、在 ssh 工具里进行
# 查看 主机 IP
ip a
3、安装 landscape router(脚本方式)
# 安装 Landscape Router
wget https://raw.githubusercontent.co ... nstall_landscape.sh -O /tmp/install_landscape.sh && chmod +x /tmp/install_landscape.sh && /bin/bash /tmp/install_landscape.sh
# 安装 Landscape Router
curl -fsSL https://raw.githubusercontent.co ... nstall_landscape.sh -o /tmp/install_landscape.sh && chmod +x /tmp/install_landscape.sh && /bin/bash /tmp/install_landscape.sh
# 安装 Landscape Router
wget https://ghfast.top/https://raw.g ... nstall_landscape.sh -O /tmp/install_landscape.sh && chmod +x /tmp/install_landscape.sh && /bin/bash /tmp/install_landscape.sh
# 安装 Landscape Router
curl -fsSL https://ghfast.top/https://raw.g ... nstall_landscape.sh -o /tmp/install_landscape.sh && chmod +x /tmp/install_landscape.sh && /bin/bash /tmp/install_landscape.sh
4、升级到 最新 稳定 版
建议通过网络下载升级脚本,以便使用最新的升级脚本
# 升级到 稳定 版 ,备份当前版本,并自动重启系统(使用 wget)
wget https://raw.githubusercontent.co ... pgrade_landscape.sh -O upgrade_landscape.sh && chmod +x upgrade_landscape.sh && /bin/bash ./upgrade_landscape.sh --reboot --backup --stopdocker
# 升级到 稳定 版 ,备份当前版本,并自动重启系统(使用 curl)
curl -fsSL https://raw.githubusercontent.co ... pgrade_landscape.sh -o upgrade_landscape.sh && chmod +x upgrade_landscape.sh && /bin/bash ./upgrade_landscape.sh --reboot --backup --stopdocker
# 镜像站速度较慢,建议不要使用
# 升级到 稳定 版 ,备份当前版本,并自动重启系统(中国镜像加速,使用 wget)
wget https://ghfast.top/https://raw.g ... pgrade_landscape.sh -O upgrade_landscape.sh && chmod +x upgrade_landscape.sh && /bin/bash ./upgrade_landscape.sh --cn --reboot --backup --stopdocker
# 镜像站速度较慢,建议不要使用
# 升级到 稳定 版 ,备份当前版本,并自动重启系统(中国镜像加速,使用 curl)
curl -fsSL https://ghfast.top/https://raw.g ... pgrade_landscape.sh -o upgrade_landscape.sh && chmod +x upgrade_landscape.sh && /bin/bash ./upgrade_landscape.sh --cn --reboot --backup --stopdocker
5、登陆的ip:http://ip:6300
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|