2024年4月2日发(作者:)

1.安装编译环境支持

# yum -y install pam-devel

# yum -y install gcc automake autoconf libtool make

# yum -y install pam-devel openldap-devel cyrus-sasl-devel

# yum -y install openssl-devel

2.下载代理软件SS5,编译安装代理软件

# tar xvf

# cd ss5-3.8.2-6

# ./configure

结果可能看到错误, 因为我就碰到了

checking security/pam_misc.h usability… no

checking security/pam_misc.h presence… no

checking for security/pam_misc.h… no

configure: error: *** Some of the headers weren’t found ***

缺某些库文件, 我看到和pam有关的, 是pam-devel包

# yum -y install pam-devel

# make

# make install

make install之后没有任何显示, 这其实已经安装完毕了, 不必疑惑

3.配置代理软件

修改配置文件:

/etc/opt/ss5/

修改:

auth 0.0.0.0/0 – -

改成:

auth 0.0.0.0/0 – u