type
status
date
slug
summary
tags
category
icon
password
😀
sing-box客户端透明代理的搭建,可以配合ros一起,将网关和dns服务器指定到sing-box服务可以达到域名分流,科学上网。
 

sing-box客户端的搭建:

  1. 先搭建一个ubuntu的客户端以便搭建sing-box客户端
  1. 开启系统的转发功能:
  1. 关闭ubuntu中系统自身的dns服务:

注意事项:

  • 为了启用sing-box的dns功能,需要在配置文件中增加dns服务模块,其中最为关键的是需要将服务器自身的dns服务关闭,避免占用53端口,同时在sing-box中inbouds增加监听53端口,如下:
    • 同时,需要在rules中增加相应的规则,如下:
iptable示范文档
NotionNext
NotionNext
一个普通的干饭人🍚
公告
type
status
date
slug
summary
tags
category
icon
password
🎉宅在家里看流星🎉
-- 感谢您的支持 ---
👏欢迎更新体验👏