ss终端代理
来源:互联网 发布:程序员述职报告 编辑:程序博客网 时间:2024/05/22 07:44
- ssserver是服务器客户端sslocal才是用户客户端
sslocal -c 配置文件
要使ss在后台运行,使用
sslocal -c 配置文件 -d start
使ss在后台停止运行
sslocal -c 配置文件 -d stop
如何将socks5转换为http代理
做个备份吧~~
First run polipo with parent proxy set to Shadowsocks:
apt-get install poliposervice polipo stoppolipo socksParentProxy=localhost:1080
Then you can play with the HTTP proxy:
http_proxy=http://localhost:8123 apt-get updatehttp_proxy=http://localhost:8123 curl www.google.comhttp_proxy=http://localhost:8123 wget www.google.comgit config --global http.proxy 127.0.0.1:8123 //8123端口为polipo的端口git clone https://github.com/xxx/xxx.gitgit xxxgit xxxgit config --global --unset-all http.proxy
- 检测当前IP地址
curl ip.gs
- 使apt-get命令走代理
(方法1跟2不确定能不能用,2没试过)
1.
修改个人目录下的.bashrc文件,填入
Acquire::http::proxy "http://127.0.0.1:8123/"; //这里的8123端口为polipo
2.
这个方法应该是不可行的…
如果希望apt-get与其它应用程序都可以一直使用http代理,可以这样:
在终端下编辑~/.bashrc文件: vim ~/.bashrc
在文件末尾添加如下两句:
http_proxy=http://host:port export http_proxy
3.
如果只是希望apt-get使用代理,可以这样:
在终端下编辑/etc/apt/apt.conf加入下面这行,
Acquire::http::Proxy “http://yourproxyaddress:proxyport”;
保存退出apt.conf。
0 0
- ss终端代理
- Proxychains + ss 代理ubuntu终端
- Mac终端走ss代理
- ubuntu使用tsocks在终端代理ss
- Ubuntu下让终端走SS代理的方法
- Ubuntu系统下浏览器和终端的SS代理配置
- ubuntu 配置ss客户端及终端代理等方法
- Ubuntu设置ss代理(firefox及终端设置)
- archlinux客户端配置终端和firefox的privoxy+ss代理
- Ubuntu系统下浏览器和终端的SS代理配置
- 关于用ss代理
- SS+Proxychains命令行代理
- kali ss代理
- Chrome浏览器SS代理设置
- Chrome浏览器SS代理设置
- 如何在Ubuntu终端下使用SS
- 如何使用360WIFI共享SS代理
- Ngnix Tcp 代理转发SS服务
- 基础练习 回形取数
- 全局变量、局部变量、静态变量和实例变量的区别
- Android-JNI HellWord
- 1065.A+B and C (64bit) (20)
- linux screen 配置文件 超好用
- ss终端代理
- C#--------- 向应用程序添加代码
- 使用 PyInstaller 把.py转为 .exe
- Vim指令大全
- 设计模式(十三)抽象工厂模式
- lua 全排列
- 前端学习之路-css选择器和布局
- Leetcode——287. Find the Duplicate Number
- BFS