mikrotik fakeip ipv4配置
- 添加 proxy_v4 标签
/routing table add name=proxy-v4 fib
- 地址列表添加fakeip v4段及添加tg v4网段及奈菲v4网段
/ip firewall address-list add list=proxy_ipv4 address=28.0.0.0/8
/ip firewall address-list add list=proxy_ipv4 address=207.45.72.0/22
/ip firewall address-list add list=proxy_ipv4 address=208.75.76.0/22
/ip firewall address-list add list=proxy_ipv4 address=210.0.153.0/24
/ip firewall address-list add list=proxy_ipv4 address=91.108.56.0/22
/ip firewall address-list add list=proxy_ipv4 address=91.108.4.0/22
/ip firewall address-list add list=proxy_ipv4 address=91.108.8.0/22
/ip firewall address-list add list=proxy_ipv4 address=91.108.16.0/22
/ip firewall address-list add list=proxy_ipv4 address=91.108.12.0/22
/ip firewall address-list add list=proxy_ipv4 address=149.154.160.0/20
/ip firewall address-list add list=proxy_ipv4 address=91.105.192.0/23
/ip firewall address-list add list=proxy_ipv4 address=91.108.20.0/22
/ip firewall address-list add list=proxy_ipv4 address=185.76.151.0/24
/ip firewall address-list add list=proxy_ipv4 address=95.161.64.0/20
/ip firewall address-list add list=proxy_ipv4 address=8.8.8.8/32
/ip firewall address-list add list=proxy_ipv4 address=8.8.4.4/32
/ip firewall address-list add list=proxy_ipv4 address=1.1.1.1/32
/ip firewall address-list add list=proxy_ipv4 address=1.0.0.1/32
- 为走向 proxy_ipv4 地址标记
/ip firewall mangle add action=mark-routing chain=prerouting dst-address-list=proxy_ipv4 new-routing-mark=proxy-v4 passthrough=yes
- 为带有 proxy-v4 标记的流量转发至proxy代理服务(sing-box或者mihomo)
/ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.10.10.254 routing-table=proxy-v4 scope=30 suppress-hw-offload=no target-scope=10
备注:
10.10.10.254 为 sing-box或者mihomo地址
proxy-v4 为上面设置的标记需要代理的流量
- 伪装中排除标记流量,用于在sing-box或者mihomo ui中显示源地址ip
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容