1.安装privoxy
yum install -y privoxy
如果无法用yum安装,则下载源包编译安装
编译安装:
yum -y install gcc
useadd privoxy
autoheader && autoconf && ./configuremake && make install
修改配置文件.
vi /usr/local/etc/privoxy/config
把 listen-address 127.0.0.1:8118
改为 listen-address :8118
启动privoxy :service privoxy start
防火墙开启8118端口
2.安装*** 拨号
yum install -y ppp*
yum install pptp pptp-setup
4.配置
# pptpsetup --create tunnelname --server xxx.xxx.xxx.xxx--username 用户名 --password 密码
5. 连接
# pppd call tunnelname
6. 断开
# killall pppd
转载于:https://blog.51cto.com/snbolinux/1609309