About

XSOCKS is a reliable socks5 proxy server for windows and linux.

It has support forward and reverse mode.

More information about socks5 : RFC1928

Complier

Windows
devenv.exe build.sln /rebuild RELEASE
Linux
make

Usage

xsocks  [-l port] [-t] [-p1 port] [-p2 port] [-s ip:port]
        [-r ip:port] [-u username] [-p password]

Options

-l  Set forward mode on Socks5.
-r  Set reverse mode on Socks5.
-t  Build tunnel on socks5.
-s  Redirect another socks server.
-u  Socks5's login username.
-p  Socks5's login password.
-p1 Accept of XSOCKS client's port.
-p2 Accept of proxy  client's port.

Examples

xsocks -l 8085 -u root -p 123456
xsocks -t -p1 8085 -p2 8086
xsocks -r 192.168.1.10:8085 -u root -p 123456
xsocks -s 192.168.1.11:8085 -r 192.168.1.10:8086

link:https://github.com/5loyd/xsocks

#请勿用小于1024端口号,以免引起不必要bug

[via@村里的-草泥马之家]

该文章由WP-AutoPost插件自动采集发布

原文地址:http://bluereader.org/article/43941692