first commit
This commit is contained in:
108
Extras/Inbox/OpenWrt部署.md
Normal file
108
Extras/Inbox/OpenWrt部署.md
Normal file
@@ -0,0 +1,108 @@
|
||||
---
|
||||
Aliases:
|
||||
Created: 2023-07-27 14:59:53
|
||||
Modified: 2023-07-27 20:31:47
|
||||
Title: OpenWrt部署
|
||||
Tags: OpenWrt
|
||||
---
|
||||
up::[[Atlas/Card|Card]]
|
||||
|
||||
# 宽带拨号
|
||||
|
||||
账号:059602115596
|
||||
密码:123456
|
||||
|
||||
LAN: IPv4 网关:192.168.1.1
|
||||
DHCP: 启动 101 客户数 155
|
||||
|
||||
# DNS 设置
|
||||
|
||||
223.5.5.5
|
||||
|
||||
# 磁盘管理
|
||||
|
||||
- /dev/sda1——/boot
|
||||
- /dev/sda3——/overlay
|
||||
- /dev/sda4——/mnt/sata1-4
|
||||
- /dev/sdb1——/mnt/sata3-1
|
||||
- /dev/sdc1——/mnt/usb2_7-1
|
||||
- docker 迁移:/mnt/sata1-4/docker
|
||||
|
||||
# OpenClash 安装
|
||||
|
||||
```
|
||||
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
|
||||
```
|
||||
|
||||
`opkg install /tmp/luci-app-openclash_0.45.87-beta_all.ipk`
|
||||
|
||||
订阅地址: https://api.tsutsu.one/sub?target=clash&url=https%3A%2F%2Ffast.lycorisrecoil.org%2Flink%2FayAWmBvYHVaY7rGM%3Fsub%3D1&insert=false&config=https%3A%2F%2Fcdn.staticaly.com%2Fgh%2FACL4SSR%2FACL4SSR%2Fmaster%2FClash%2Fconfig%2FACL4SSR_Online_Full_Netflix.ini&exclude=%E5%A4%87%E7%94%A8%7C%E5%AE%A2%E6%9C%8D%7C%E5%B7%A5%E4%BD%9C%E5%AE%A4%7CNext%7C%E6%97%A0%7CIPV6&filename=%E7%AE%A1%E4%BA%BA%E7%97%B4&emoji=true&list=false&tfo=false&scv=false&fdn=false&sort=false&expand=true&udp=true&new_name=true
|
||||
排除无效节点全部勾选
|
||||
|
||||
## 插件设置
|
||||
|
||||
模式设置:UDP 流量转发√
|
||||
流量控制:路由本机代理√ 禁用 QUIC√ 绕过中国大陆 IP√
|
||||
DNS 设置:本地 DNS 劫持:停用禁止 Dnsmasq 缓存 DNS√
|
||||
外部控制:管理页面端口:9898 管理页面登录密钥:OpenClash 管理页面公网域名:clash.pkugsm.cf
|
||||
|
||||
## 覆写设置
|
||||
|
||||
DNS 设置:自定义上游 DNS 服务器√ 追加上游 DNS√
|
||||
NameServer:114.114.114.114 119.29.29.29 223.5.5.5 8.8.8.8
|
||||
|
||||
## 配置管理
|
||||
|
||||
```
|
||||
- "DOMAIN-KEYWORD,mihoyo,\U0001F680 手动切换"
|
||||
- "DOMAIN-KEYWORD,truthsocial,\U0001F1FA\U0001F1F2 美国节点"
|
||||
```
|
||||
|
||||
# AdGuard Home 安装
|
||||
|
||||
软件包里直接装 ipk 和 luci 界面即可,配置文件已备份
|
||||
网页管理端口:3000
|
||||
重定向 53 端口到 AdGuard Home
|
||||
|
||||
# iStore 安装
|
||||
|
||||
- SysTools 工具集
|
||||
- 主机流量监控
|
||||
- SFTP 服务
|
||||
- FTP 服务器
|
||||
- ARP 绑定
|
||||
- 微信推送 ServerChan 【TG_token:5108952241:AAG6pZsHMdAZN2_OXZ5ELQ_ef6TaXZCtAiY】【TG_chatid:1061900965】
|
||||
- 关机
|
||||
- Nut
|
||||
- NetData 系统监控
|
||||
- 硬盘休眠
|
||||
- Go-WebDAV
|
||||
|
||||
# 动态 DNS
|
||||
|
||||
查询主机名:communist.top
|
||||
DDNS 服务提供商:cloudflare. com-v4
|
||||
域名: communist.top
|
||||
用户名: communistspectre@foxmail.com
|
||||
密码:917c28054f6f733bab1d7eb50141088963519
|
||||
使用 HTTPS√
|
||||
CA 证书路径:IGNORE
|
||||
IP 地址来源:网络 WAN
|
||||
|
||||
# frp
|
||||
|
||||

|
||||
服务端:5443
|
||||
令牌:ouctykEweJ1EbJ8U
|
||||
|
||||
# 网络共享
|
||||
|
||||
Download /mnt/sata3-1/download
|
||||
|
||||
# docker
|
||||
|
||||
## 贴吧
|
||||
|
||||
BDUSS:1VGaTN4bXl3OUU3NWNTdC1HbEVsSC1uUjRGN2tkOU8teHFXOEdJakZPUWdKNjlqSVFBQUFBJCQAAAAAAAAAAAEAAACZUe8fs6TG2rXE1tCy3dKpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACCah2MgmodjZ
|
||||
|
||||
STOKEN:314cebd96281a05af2f761a107be56cf68c240eeda1ad7e0390a4b312b52e856
|
||||
Reference in New Issue
Block a user