7

socks5 proxy 折腾记

 2 years ago
source link: https://blogread.cn/it/article/1806?f=hot1
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

socks5 proxy 折腾记

浏览:5385次  出处信息

需要在服务器上装sock5 proxy,服务器平台是Redhat enterprise linux5,淡水要在有限的时间里去折腾它。

google之。

找到了socks5-v1.0r11编译报错:(

再google之。。。

又转找到ss5-3.6.4-3, 编译,又报错:(

时间有限,精力有限,关键是能力有限。。

最后google之。。。。。。

找到Antinat。看似很方便的样子。官网:http://antinat.sourceforge.net/

antinat-0.90-1.i386.rpm
antinat-libs-0.90-1.i386.rpm

先rpm -ivh antinat-libs-0.90-1.i386.rpm

再rpm -ivh antinat-0.90-1.i386.rpm

也可以下载:antinat-0.90.tar.bz2 编译安装。

tar jvxf antinat-0.90.tar.bz2
cd antinat-0.90
./configure
make install
cp etc/antinat.xml.allopen /usr/local/etc/antinat.xml

配置端口:

  1. <!-- Port to listen on -->
  2.         <port value='1080'/>

如无需认证,这样就完成了。我要加入认证帐号则,那么如下:

  1. vi  /usr/local/etc/antinat.xml
  2. <!-- <user user='testuser' password='testpass'/> -->
  1. <user user='username' password='userpassword'/>
  1. <select mechanism='anonymous'/>

ok,运行吧:

[root@testserver]antinat

看看是否启动了

[root@testserver]netstat -na|grep 1080
tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN

搞定了。X雷,X讯可以用了,嘿嘿嘿嘿(奸笑中……)

建议继续学习:

QQ技术交流群:445447336,欢迎加入!
扫一扫订阅我的微信号:IT技术博客大学习

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK