mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-13 22:03:09 +00:00
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
Windows x64
|
|
|
|
1) Download latest cygwin for windows 7
|
|
|
|
curl -O https://www.cygwin.com/setup-x86_64.exe
|
|
setup-x86_64.exe --allow-unsupported-windows --no-verify --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2024/01/30/231215
|
|
|
|
2) During setup install packages : make gcc-core zlib-devel
|
|
|
|
3) Run Cygwin.bat
|
|
|
|
4) install and compile luajit from here : https://github.com/openresty/luajit2
|
|
|
|
download latest releast, unpack, cd to it's directory
|
|
|
|
make BUILDMODE=static CFLAGS="-Os"
|
|
make install
|
|
|
|
5) cd to %ZAPRET_BASE%/nfq
|
|
|
|
cd C:/Users/user/Downloads/zapret2/nfq
|
|
|
|
6) Compile nfqws2
|
|
|
|
make cygwin64
|
|
|
|
use winws2.exe
|
|
|
|
7) Take windivert.dll and windivert64.sys here : https://reqrypt.org/download
|
|
Choose version 2.2.2 for Windows 10 and 2.2.0 for Windows 7.
|
|
|
|
8) Copy cygwin1.dll, winws2.exe, windivert.dll and windivert64.sys to one folder.
|
|
|
|
9) Run winws2.exe from cmd.exe running as administrator.
|
|
winws will not run from cygwin shell with cygwin1.dll copy in it's folder.
|
|
winws will not run without cygwin1.dll outside of cygwin shell.
|