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
相关推荐
catchadmin17 小时前
TrueAsync Server 为 PHP 带来了原生的高性能 HTTP 服务器
服务器·http·php
侃谈科技圈17 小时前
四大桌面云品牌评测:从安全、体验到性价比
运维·服务器·安全
同聘云17 小时前
华为云国际站DNS服务器搭建流程?dns的服务器地址是多少?
运维·服务器·华为云
樱桃花下的小猫18 小时前
僵尸毁灭工程-服务器开服联机教程
服务器·僵尸毁灭工程·云鸢互联·零门槛一键搭建·新手友好无技术门槛要求·僵尸毁灭工程服务器·僵尸毁灭工程服务器一键搭建
樱桃花下的小猫18 小时前
僵尸毁灭工程-服务器存档教程
服务器·僵尸毁灭工程·新手友好·云鸢互联·零门槛一键开服·僵尸毁灭工程服务器·僵尸毁灭工程服务器存档教程
资源分享助手18 小时前
The-Book-Of-Secret-Knowledge 趣味冷知识探索指南
java·服务器·前端
huangdong_18 小时前
淘宝商品数据采集:浏览器方案的完整技术实现
服务器·前端·javascript
学无止境_永不停歇18 小时前
从零手写高性能 C++ TCP 服务器框架(二):名词介绍
服务器·网络·c++·tcp/ip·中间件
mingshili18 小时前
[python] AST语法树来加速大量库文件和注册的加载以及审查
服务器·python
勇哥的编程江湖18 小时前
25 Elasticsearch Terms Aggregation 实战
java·服务器·前端