Update readme.eng.md

This commit is contained in:
awslawsl233 2021-12-14 16:52:32 +08:00 committed by GitHub
parent e396f2766a
commit 73ed95aa91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,6 @@ After installation remove /tmp/zapret to free RAM.
The absolute minimum for openwrt is 64/8 system, 64/16 is comfortable, 128/extroot is recommended. The absolute minimum for openwrt is 64/8 system, 64/16 is comfortable, 128/extroot is recommended.
### Android ### Android
Its not possible to use nfqws and tpws in transparent proxy mode without root privileges. Its not possible to use nfqws and tpws in transparent proxy mode without root privileges.
@ -106,12 +105,10 @@ chmod 755 /data/local/tmp/zapret /data/local/tmp/zapret/tpws
chcon u:object_r:system_file:s0 /data/local/tmp/zapret/tpws chcon u:object_r:system_file:s0 /data/local/tmp/zapret/tpws
Now its possible to run /data/local/tmp/zapret/tpws from any app such as tasker. Now its possible to run /data/local/tmp/zapret/tpws from any app such as tasker.
### FreeBSD, OpenBSD, MacOS ### FreeBSD, OpenBSD, MacOS
see docs/bsd.eng.txt see docs/bsd.eng.txt
### Windows (WSL) ### Windows (WSL)
Using WSL (Windows subsystem for Linux) it's possible to run tpws in socks mode under rather new builds of Using WSL (Windows subsystem for Linux) it's possible to run tpws in socks mode under rather new builds of
@ -120,8 +117,10 @@ Its not required to install any linux distributions as suggested in most article
tpws is static binary. It doesn't need a distribution. tpws is static binary. It doesn't need a distribution.
Install WSL : `dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all` Install WSL : `dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all`
Copy binaries/x86_64/tpws_wsl.tgz to the target system. Copy binaries/x86_64/tpws_wsl.tgz to the target system.
Run : `wsl --import tpws "%USERPROFILE%\tpws" tpws_wsl.tgz` Run : `wsl --import tpws "%USERPROFILE%\tpws" tpws_wsl.tgz`
Run tpws : `wsl --exec /tpws --uid=1 --no-resolve --socks --bind-addr=127.0.0.1 --port=1080 <fooling_options>` Run tpws : `wsl --exec /tpws --uid=1 --no-resolve --socks --bind-addr=127.0.0.1 --port=1080 <fooling_options>`
Configure socks as 127.0.0.1:1080 in a browser or another program. Configure socks as 127.0.0.1:1080 in a browser or another program.