Phantomsocks/运行
外观
运行
[编辑]在命令行直接执行phantomsocks即可启动该程序。
Windows特定
[编辑]如果你在Windows上使用WinDivert API,你需要在phantomsocks.exe相同目录下放置 WinDivert.dll 和 WinDivert64.sys ,您可以到仓库中WinDivert64.sys的位置和WinDivert的发布页面获取。
根据phantomsocks -h的输出所述。您可以运行phantomsocks -install来将该程序安装为一个服务,此时其可以通过service.msc管理。
附其输出:
Usage of ./phantomsocks:
-c string
Config file (default "config.json")
-install
Install service
-log int
Log level
-maxprocs int
Max processes
-passive
Passive mode
-remove
Remove service
-start
Start service
-stop
Stop service