linux naive代理设置

naive linux客户端

Release v132.0.6834.79-2 · klzgrad/naiveproxy · GitHub

Client setup

Run ./naive with the following config.json to get a SOCKS5 proxy at local port 1080.

javascript 复制代码
{
  "listen": "socks://127.0.0.1:1080",
  "proxy": "https://user:pass@example.com"
}

reboot auto setup

add follow command to /etc/profile endline.

bash 复制代码
/path/to/naive /path/to/config.json

then input command

bash 复制代码
source /etc/profile

Proxy shortcut

javascript 复制代码
alias setproxy="export ALL_PROXY=socks://127.0.0.1:1080"
alias unsetproxy="unset ALL_PROXY"

Proxy setup

bash 复制代码
setproxy # setup
unsetproxy # unset

test:

bash 复制代码
curl cip.cc
相关推荐
茶杯梦轩1 天前
从零起步学习RabbitMQ || 第二章:RabbitMQ 深入理解概念 Producer、Consumer、Exchange、Queue 与企业实战案例
服务器·后端·消息队列
YuMiao3 天前
gstatic连接问题导致Google Gemini / Studio页面乱码或图标缺失问题
服务器·网络协议
Sinclair6 天前
简单几步,安卓手机秒变服务器,安装 CMS 程序
android·服务器
Rockbean7 天前
用40行代码搭建自己的无服务器OCR
服务器·python·deepseek
茶杯梦轩7 天前
CompletableFuture 在 项目实战 中 创建异步任务 的核心优势及使用场景
服务器·后端·面试
海天鹰8 天前
【免费】PHP主机=域名+解析+主机
服务器
不是二师兄的八戒8 天前
Linux服务器挂载OSS存储的完整实践指南
linux·运维·服务器
芝士雪豹只抽瑞克五8 天前
Nginx 高性能Web服务器笔记
服务器·nginx
失重外太空啦8 天前
Tomcat
java·服务器·tomcat
Henry Zhu1238 天前
数据库:并发控制基本概念
服务器·数据库