I

ikuai + openwrt分流配置

admin 默认分类 2024-11-12
一:接口设置
1. ikuai
    - wan: pppoe拨号
    - wan2: 
        - ip: 10.0.0.2 
        - 网关: 10.0.0.1
    - lan: 
        - ip: 192.168.5.252 
        - 网关: 192.168.5.252
    - dhcp: 
        - dns: 
            - 主:192.168.5.252 
            - 备:119.29.29.29
    - dns: 
        - 主:223.5.5.5 
        - 备:119.29.29.29
        - 勾选dns加速
        - DNS加速模式(代理模式UDP)
    - 多线路dns: 
        - wan1: 
            - 主: 58.240.57.33 
            - 备: 221.6.4.66 
        - wan2: 
            - 主: 8.8.8.8 
            - 备: 1.1.1.1
    - 自定义运营商:
        - fakeip: 198.18.0.0/16 
        - cn: [https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/cn.txt](https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/cn.txt)
    - 端口分流: 
        - 外网线路  wan1  任意  192.168.5.253   (openwrt走wan1出口)
    - 域名分流:
        - wan2   gfw: [https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/gfw.txt](https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/gfw.txt)
        
2. openwrt
    - wan: 
        - ip: 192.168.5.253 
        - 网关: 192.168.5.252 
        - dns: 192.168.5.252
    - wan6: dhcpv6客户端 @wan
    - lan: 
        - ip: 10.0.0.1 
        - 禁用dhcp和ipv6
    - dhcp/dns: 
        - 关闭重定向保护 
        - 开启缓存
    - openclash: 
        - 本地dns劫持 :使用Dnsmasq转发(一定要打开,否则绕过大陆ip不会生效)
        - 开启绕过大陆ip 

评论(0)

发布评论