This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Red Hat 4.8.3-9 版本设置 | |
/usr/bin/sslocal -s 服务器域名或IP -p 服务器端口 -m aes-256-cfb -k hello,world -b 0.0.0.0 -l 1234 | |
以上命令开放的是socks5端口,但部分应用只支持http代理,需要使用privoxy工具将其他http端口请求转到1234 | |
service privoxy restart | |
### /etc/privoxy/config 内容 | |
listen-address 0.0.0.0:8118 | |
forward-socks5 / 127.0.0.1:1234 . |