惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
F
Fortinet All Blogs
B
Blog
GbyAI
GbyAI
P
Proofpoint News Feed
量子位
The Register - Security
The Register - Security
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
B
Blog RSS Feed
WordPress大学
WordPress大学
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
V
Vulnerabilities – Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
雷峰网
雷峰网
Stack Overflow Blog
Stack Overflow Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Webroot Blog
Webroot Blog
AWS News Blog
AWS News Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
The GitHub Blog
The GitHub Blog
爱范儿
爱范儿
O
OpenAI News
月光博客
月光博客
H
Hacker News: Front Page
S
Security Affairs
W
WeLiveSecurity
The Hacker News
The Hacker News
aimingoo的专栏
aimingoo的专栏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Help Net Security
Help Net Security
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
T
The Blog of Author Tim Ferriss
Spread Privacy
Spread Privacy
Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
S
Securelist
Microsoft Azure Blog
Microsoft Azure Blog
TaoSecurity Blog
TaoSecurity Blog
T
Threat Research - Cisco Blogs
M
MIT News - Artificial intelligence
A
About on SuperTechFans

Shanwer's Blog

使用pg_upgrade升级容器内Postgres数据库 – Shanwer's Blog 奇怪的小米BE 6500 Pro – Shanwer's Blog 本站现已支持HTTP/3,那么,代价是什么 – Shanwer's Blog Debian12+KDE无法启用Wi-Fi网络的问题 – Shanwer's Blog 大二寒假实习面试 – Shanwer's Blog GitHub workflow的介绍与Git压缩commits的方法 – Shanwer's Blog 计算机科学学习指南 – Shanwer's Blog 记处理一个奇怪的锁屏显示问题 – Shanwer's Blog 数据结构课程设计 – Shanwer's Blog MC服务器迁移数据笔记 – Shanwer's Blog
Linux使用sing-box配置代理 – Shanwer's Blog
Shanwer · 2024-07-09 · via Shanwer's Blog
Linux使用sing-box配置代理

|

8,162

|

0

|

|

344 字

|

2 分钟

本文最后更新于 705 天前,其中的信息可能已经有所发展或是发生改变。

这个标题就不适合写很多废话了,所以直接说正事。

sing-box在Linux平台不提供GUI,所以使用起来可能并没有那么直观。不过官方给出了详细的配置方法,具体可以参考官方配置文档

sing-box使用的是JSON格式的配置文件,可以配置的项目非常多,不过大多数人(比如我),肯定是不关心这个的,我只想通过URL导入配置文件。如果有直接针对sing-box的配置文件,就很方便,直接运行即可,我使用的服务商就有直接提供相关URL。

sing-box会直接读取当前目录下的config.json文件作为配置文件。可以使用sing-box check命令来检查json文件格式是否正确,如果正确的话将不会提供任何输出,之后使用sing-box run命令运行,这边建议直接使用root权限,否则开启TUN时会提示权限不足。

其实写到这边就结束了,因为比较懒,不想涉及有关配置文件转换的内容,有需要可以去阅读sing-box 基础教程:sing-box 的配置方法和使用教程

发送评论 编辑评论