Jump to content
  • Hello visitors, welcome to the Hacker World Forum!

    Red Team 1949  (formerly CHT Attack and Defense Team) In this rapidly changing Internet era, we maintain our original intention and create the best community to jointly exchange network technologies. You can obtain hacker attack and defense skills and knowledge in the forum, or you can join our Telegram communication group to discuss and communicate in real time. All kinds of advertisements are prohibited in the forum. Please register as a registered user to check our usage and privacy policy. Thank you for your cooperation.

    TheHackerWorld Official

CentOS7 搭建SOCKS5代理服务器

 Share


Recommended Posts

废话不说了,直接走起。

在centos7中编译安装

yum install -y gcc openldap-devel pam-devel openssl-devel
wget http://jaist.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz
tar -vzx -f ss5-3.8.9-8.tar.gz
cd ss5-3.8.9/
./configure
make
make install
chmod a+x /etc/init.d/ss5

3096583584.png

修改配置文件

找到对应行将“#”删除,同时在“auth”一行末尾Authentication列将“-”修改为“u”,“permit”一行中的Auth列修改“-”为“u”。修改完毕后保存。

vim /etc/opt/ss5/ss5.conf

3521722142.png
360570061.png

设置用户名和密码

格式:用户+空格+密码。

vim /etc/opt/ss5/ss5.passwd

重启

service ss5 restart

测试

利用QQ我们就可以测试,看连接是否正常。

其他

连接失败可能是端口问题,解决方法如下

  • 服务器安全组开启1080
  • 关闭系统自带防火墙systemctl stop firewalld
  • 关闭SELinux 临时关闭命令setenforce 0

版权属于:逍遥子大表哥

本文链接:https://blog.bbskali.cn/3681.html

按照知识共享署名-非商业性使用 4.0 国际协议进行许可,转载引用文章应遵循相同协议。

Link to post
Link to comment
Share on other sites

 Share

discussion group

discussion group

    You don't have permission to chat.
    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...