redsocks是一款tcp -> 代理服务器的透明代理,使用它结合iptables,可以实现Linux下的全局代理。
1 安装
sudo apt-get install redsocks
2 配置
- /etc/redsocks.conf
- 修改redsocks下的local_ip, local_port,这两个是本地映射出的tcp端口
- 修改redsocks下的ip, port, type,这三个是远程代理服务器的配置
3 iptable规则:redsoc[......]
redsocks是一款tcp -> 代理服务器的透明代理,使用它结合iptables,可以实现Linux下的全局代理。
1 安装
sudo apt-get install redsocks
2 配置
3 iptable规则:redsoc[......]
1 git + socks5
# ~/.ssh/config
# 在需要的host下设定
ProxyCommand connect-proxy -5 -R remote -S ip:port %h %p
2 Maven + http
# ~/.m2/settings.xml
<proxies>
<proxy>
<id>nexus</id>
<activ[......]
wget --no-check-certificate https://xxx
[......]
1 安装
sudo apt-get install poppler-utils
2 合并
pdfunite 1.pdf 2.pdf output.pdf
[......]
转载自:https://developer.aliyun.com/article/781180?spm=a2c6h.12873581.0.dArticle781180.58d5802f7iyZ39[......]