iStoreOS 安装与简单配置

目录

  • [一. 安装](#一. 安装)
  • [二. 配置](#二. 配置)
    • [2.1 配置为旁路由](#2.1 配置为旁路由)
      • [2.1.1 逻辑流量图](#2.1.1 逻辑流量图)
      • [2.1.2 验证](#2.1.2 验证)
    • [2.2 配置`AdGuard Home`](#2.2 配置AdGuard Home)
    • [2.3 配置代理](#2.3 配置代理)

一. 安装

🔷确认小主机系统的硬件架构

bash 复制代码
root@iStoreOS:~# uname -m
x86_64
root@iStoreOS:~#

🔷根据硬件架构下载对应的系统固件

  • https://fw.koolcenter.com/iStoreOS/x86_64/
  • https://fw.koolcenter.com/iStoreOS/x86_64_efi/

🔷找一个U盘,通过Rufus加载下载好的系统固件,将U盘制作为系统盘之后,向小主机内刷入系统镜像。

  • https://rufus.ie/zh/

🔷进入刷好的系统

  • 默认情况下root用户没有设置密码,需要手动设置密码
  • 通过http://ip地址可进入iStoreOS的WebUI界面

二. 配置

2.1 配置为旁路由

  • 由于买的小主机没有WLAN口,所以只能配置为旁路由
  • 旁路由的网关和DNS服务器要填写主路由的ip地址

2.1.1 逻辑流量图

#mermaid-svg-ekTl5PTIBEupBFqh{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-ekTl5PTIBEupBFqh .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-ekTl5PTIBEupBFqh .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-ekTl5PTIBEupBFqh .error-icon{fill:#552222;}#mermaid-svg-ekTl5PTIBEupBFqh .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-ekTl5PTIBEupBFqh .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-ekTl5PTIBEupBFqh .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-ekTl5PTIBEupBFqh .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-ekTl5PTIBEupBFqh .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-ekTl5PTIBEupBFqh .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-ekTl5PTIBEupBFqh .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-ekTl5PTIBEupBFqh .marker{fill:#333333;stroke:#333333;}#mermaid-svg-ekTl5PTIBEupBFqh .marker.cross{stroke:#333333;}#mermaid-svg-ekTl5PTIBEupBFqh svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-ekTl5PTIBEupBFqh p{margin:0;}#mermaid-svg-ekTl5PTIBEupBFqh .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-ekTl5PTIBEupBFqh .cluster-label text{fill:#333;}#mermaid-svg-ekTl5PTIBEupBFqh .cluster-label span{color:#333;}#mermaid-svg-ekTl5PTIBEupBFqh .cluster-label span p{background-color:transparent;}#mermaid-svg-ekTl5PTIBEupBFqh .label text,#mermaid-svg-ekTl5PTIBEupBFqh span{fill:#333;color:#333;}#mermaid-svg-ekTl5PTIBEupBFqh .node rect,#mermaid-svg-ekTl5PTIBEupBFqh .node circle,#mermaid-svg-ekTl5PTIBEupBFqh .node ellipse,#mermaid-svg-ekTl5PTIBEupBFqh .node polygon,#mermaid-svg-ekTl5PTIBEupBFqh .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-ekTl5PTIBEupBFqh .rough-node .label text,#mermaid-svg-ekTl5PTIBEupBFqh .node .label text,#mermaid-svg-ekTl5PTIBEupBFqh .image-shape .label,#mermaid-svg-ekTl5PTIBEupBFqh .icon-shape .label{text-anchor:middle;}#mermaid-svg-ekTl5PTIBEupBFqh .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-ekTl5PTIBEupBFqh .rough-node .label,#mermaid-svg-ekTl5PTIBEupBFqh .node .label,#mermaid-svg-ekTl5PTIBEupBFqh .image-shape .label,#mermaid-svg-ekTl5PTIBEupBFqh .icon-shape .label{text-align:center;}#mermaid-svg-ekTl5PTIBEupBFqh .node.clickable{cursor:pointer;}#mermaid-svg-ekTl5PTIBEupBFqh .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-ekTl5PTIBEupBFqh .arrowheadPath{fill:#333333;}#mermaid-svg-ekTl5PTIBEupBFqh .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-ekTl5PTIBEupBFqh .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-ekTl5PTIBEupBFqh .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ekTl5PTIBEupBFqh .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-ekTl5PTIBEupBFqh .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ekTl5PTIBEupBFqh .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-ekTl5PTIBEupBFqh .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-ekTl5PTIBEupBFqh .cluster text{fill:#333;}#mermaid-svg-ekTl5PTIBEupBFqh .cluster span{color:#333;}#mermaid-svg-ekTl5PTIBEupBFqh div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-ekTl5PTIBEupBFqh .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-ekTl5PTIBEupBFqh rect.text{fill:none;stroke-width:0;}#mermaid-svg-ekTl5PTIBEupBFqh .icon-shape,#mermaid-svg-ekTl5PTIBEupBFqh .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ekTl5PTIBEupBFqh .icon-shape p,#mermaid-svg-ekTl5PTIBEupBFqh .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-ekTl5PTIBEupBFqh .icon-shape .label rect,#mermaid-svg-ekTl5PTIBEupBFqh .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ekTl5PTIBEupBFqh .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-ekTl5PTIBEupBFqh .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-ekTl5PTIBEupBFqh :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;} 默认不走旁路由
走旁路由
默认路由指向主路由
WiFi
WiFi
电脑A

IP: 192.168.3.101

网关: 192.168.3.61

DNS: 192.168.3.61
电脑B

IP: 192.168.3.102

网关: 192.168.3.61

DNS: 192.168.3.61
小主机旁路由

IP: 192.168.3.61

网关: 192.168.3.1

DNS: 192.168.3.1

DHCP: 关闭
手机A

DHCP获取

网关: 192.168.3.1

DNS: 192.168.3.1
手机B

DHCP获取

网关: 192.168.3.1

DNS: 192.168.3.1
华为主路由

LAN: 192.168.3.1

DHCP: 开启
光猫
互联网

2.1.2 验证

🔷电脑网络设置

🔷可以看到,流量先经过旁路由,然后再经过主路由

2.2 配置AdGuard Home

🔷AdGuardHome的安装地址:

🔷下载.run安装包

🔷点击iStore,选择手动安装,然后找到下载的AdGuard Home的.run文件。

🔷53端口是 DNS(域名系统)服务的标准端口,AdGuard Home的DNS过滤功能会用到该端口,但是该端口可能会被dnsmasq占用。

bash 复制代码
root@iStoreOS:~# netstat -tulnp | grep :53
tcp        0      0 172.17.0.1:53           0.0.0.0:*               LISTEN      14741/dnsmasq
tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      11914/wsdd2
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      14741/dnsmasq
tcp        0      0 192.168.3.61:53         0.0.0.0:*               LISTEN      14741/dnsmasq
tcp        0      0 ::1:53                  :::*                    LISTEN      14741/dnsmasq
tcp        0      0 :::5355                 :::*                    LISTEN      11914/wsdd2
tcp        0      0 fe80::2e0:4cff:fe2b:6d6a:53 :::*                LISTEN      14741/dnsmasq
udp        0      0 127.0.0.1:53            0.0.0.0:*                           14741/dnsmasq
udp        0      0 192.168.3.61:53         0.0.0.0:*                           14741/dnsmasq
udp        0      0 172.17.0.1:53           0.0.0.0:*                           14741/dnsmasq
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           7720/avahi-daemon:
udp        0      0 0.0.0.0:5355            0.0.0.0:*                           11914/wsdd2
udp        0      0 ::1:53                  :::*                                14741/dnsmasq
udp        0      0 fe80::2e0:4cff:fe2b:6d6a:53 :::*                            14741/dnsmasq
udp        0      0 :::5353                 :::*                                7720/avahi-daemon:
udp        0      0 :::5355                 :::*                                11914/wsdd2
  • 在基础设置中选择重定向53端口到AdGuardHome即可。
  • 在DNS设置中,指定上游 DNS 服务器
  • 配置完成之后,当有设备使用软路由上的自定义DNS服务器时,就可以在仪表盘上看到对应的情报了。

2.3 配置代理

🔷Github下载.run或.ipk文件之后,安装

  • https://github.com/Openwrt-Passwall/openwrt-passwall/releases
  • https://github.com/bcseputetto/Are-u-ok/releases/tag/iStoreOS_24.10

🔷添加节点

🔷Socks配置

  • 指定http协议的端口号
  • 其他设备可以设置软路由的ip地址和指定的端口号实现代理访问网络

🔷手机连接到家庭wifi之后

  • 手机的内网ip和软路由的内网ip在同一个网段
  • 在wifi设置处直接设置使用软路由的指定端口代理访问网络
  • 这样手机可以不用安装任何软件,即可实现代理网络的访问
相关推荐
supersolon7 个月前
PVE 部署 iStoreOS 软路由完整教程(避坑版)
虚拟机·pve·openwrt·软路由·istoreos
花火Neko`9 个月前
openwrt防火墙安全配置
网络·安全·智能路由器·istoreos
芥子沫9 个月前
iStoreOS_24.10.4 兼容性列表及镜像下载地址&更新日志
网络安全·软路由·istoreos
永恒-龙啸10 个月前
闲置机安装istoreos+常用软件介绍
linux·github·开源软件·istoreos
低调D树苗3 年前
iStoreOS系统内安装HomeAssistant服务
home assistant·istoreos