#服务端开启代理
./linux_x64_admin -l 8000 #监听本地8000端口
windows_x64_agent.exe -c 192.168.125.134:8000
#连接后的命令
detail #展示在线节点的详细信息
topo #展示在线节点的父子关系
use #使用某个agent
exit #退出
socks 7777 #建立socks5 7777端口
node0: listen
然后使用agent端 连接
IPTABLES模式 (适合Linux)
./stowaway_agent --report 22 -l 10000 -s 123 #agent端 启动后,请使用script目录下的reuse.py先设置好密钥的值
python reuse.py --start --rhost xxx.xxx.xxx.xxx --rport xxx
-l: 代表无法被正常访问的端口,也就是你真正想让agent监听并接受连接的端口--report: 代表希望复用的端口-s: 代表通信密钥SO_REUSEPORT和SO_REUSEADDR模式 (适合win mac 不太合适linux)
./stowaway_admin -c 192.168.0.105:80 -s 123 #admin端
./stowaway_agent --report 80 --rehost 192.168.0.105 -s 123 #agent端
--rehost: 代表希望复用的IP地址,不可为0.0.0.0,普遍应当是网卡的外部地址--report: 代表希望复用的端口-s:代表通信密钥