Update readme.eng.md

This commit is contained in:
awslawsl233
2021-12-14 16:51:19 +08:00
committed by GitHub
parent 946121476e
commit e396f2766a

View File

@@ -119,13 +119,13 @@ windows 10 and windows server.
Its not required to install any linux distributions as suggested in most articles. Its not required to install any linux distributions as suggested in most articles.
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.
Cleanup : wsl --unregister tpws Cleanup : `wsl --unregister tpws`
Tested in windows 10 build 19041 (20.04). Tested in windows 10 build 19041 (20.04).