登陆linux vps.
wget https://netix.dl.sourceforge.net/project/antinat/antinat/0.90/antinat-0.90.tar.bz2
tar zxvf antinat-0.90.tar.bz2
cd antinat-0.90
./configure --prefix=/usr/local/antinat
make && make install
cd /usr/local/antinat
下载地址:
https://sourceforge.net/projects/antinat/files/antinat/0.90/
项目地址:
https://sourceforge.net/projects/antinat/
http://www.malsmith.net/antinat/
http://www.malsmith.net/antinat/doc/antinat.xml.4/
http://www.malsmith.net/antinat/download/
https://github.com/m3l3m01t/antinat ,某人的fork
https://linux.die.net/man/1/antinat
------
我在chrome+switchyomega和ff+switchyomega里,都设置失败。
wget https://netix.dl.sourceforge.net/project/antinat/antinat/0.90/antinat-0.90.tar.bz2
tar zxvf antinat-0.90.tar.bz2
cd antinat-0.90
./configure --prefix=/usr/local/antinat
make && make install
cd /usr/local/antinat
root@ar:/usr/local/antinat# ls
bin etc include lib man var
root@ar:/usr/local/antinat# ls etc
antinat.xml
root@ar:/usr/local/antinat# ls bin
antinat antinat-config
root@ar:/usr/local/antinat# nano etc/antinat.xml
(把interface value的值由0.0.0.0改成127.0.0.1
把port value的值改成3070
如果你想启用认证,则把
<!-- <user user='testuser' password='testpass'/> -->改成
<user user='testuser' password='testpass'/>
把
<filter user='root'>
<reject/>
</filter>
改成
<filter user='root'>
<accept/>
</filter>
)
root@ar:/usr/local/antinat# cd bin
root@ar:/usr/local/antinat/bin# ./antinat
root@ar:/usr/local/antinat/bin#
socks代理服务器程序-antinat就在运行中了。
root@ar:/usr/local/antinat/bin# lsof -i:3070
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
antinat 25992 root 4u IPv4 1664204503 0t0 TCP localhost.localdomain:3070 (LISTEN)
root@ar:/usr/local/antinat/bin#
以上结果说明antinat确实是在监听3070端口。
这个socks代理服务器程序可以用作很多tunnel的后端程序,比如xtunnel的后端程序。详见
https://briteming.blogspot.com/2018/04/xtunnel.html
https://sourceforge.net/projects/antinat/files/antinat/0.90/
项目地址:
https://sourceforge.net/projects/antinat/
http://www.malsmith.net/antinat/
http://www.malsmith.net/antinat/doc/antinat.xml.4/
http://www.malsmith.net/antinat/download/
https://github.com/m3l3m01t/antinat ,某人的fork
https://linux.die.net/man/1/antinat
------
我在chrome+switchyomega和ff+switchyomega里,都设置失败。
No comments:
Post a Comment