diff --git a/PROXY_GUIDELINE.md b/PROXY_GUIDELINE.md index ae32701..55b6eef 100644 --- a/PROXY_GUIDELINE.md +++ b/PROXY_GUIDELINE.md @@ -49,7 +49,7 @@ On Windows, if you have administrative privilidge, you can simply run the following command in a `cmd` window with admin privilidge. ```bat -netsh interface portproxy add osworld_proxy listenaddress=192.168.108.1 listenport=1080 connectaddress=127.0.0.1 connectport=1080 +netsh interface portproxy add v4tov4 listenaddress=192.168.108.1 listenport=1080 connectaddress=127.0.0.1 connectport=1080 ``` Or if you haven't got administrative privilidge, you can use `ncat` bundled in @@ -79,7 +79,7 @@ Set an appropriate proxy mode. Usually, use "Manual" mode, and set the correct IP addresses and ports. The IP address should be the host machine IP noted in the previous step. -Then you can open a chrome page to check if the proxy works normally. +Then you can open a chrome page to check if the proxy works well. ###### Configuration by Command Line @@ -110,12 +110,30 @@ vmrun -T ws runProgramInGuest /path/to/vmx/file /usr/bin/gsettings set org.gnome ###### Configuration by GUI - +Open system network setting in the VM. +![open setting](assets/winnetsetting1.png) + +![open network setting](assets/winnetsetting2.png) + +Then, click on "Proxy". + +![proxy setting](assets/netsetting3.png) + +Switch on "Use a proxy server" and type in the correct proxy configurations. + +![proxy setting](assets/netsetting4.png) + +Finally, remember to click on "Save". + +Note only HTTP proxy is supported. Subsequently, you can open a chrome page to +check if the proxy works well. + + + + diff --git a/README.md b/README.md index 4ffb97a..0929a0d 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,9 @@ Afterward, you can execute a command similar to the one in the previous section \*No environment parallelism. Calculated in April 2024. +### How can I configure a proxy for the VM if I'm behind a GFW? + +See [Proxy Guideline](PROXY_GUIDELINE.md) ## 📄 Citation If you find this environment useful, please consider citing our work: diff --git a/assets/winnetsetting1.png b/assets/winnetsetting1.png new file mode 100644 index 0000000..b2ac6af Binary files /dev/null and b/assets/winnetsetting1.png differ diff --git a/assets/winnetsetting2.png b/assets/winnetsetting2.png new file mode 100644 index 0000000..e854e53 Binary files /dev/null and b/assets/winnetsetting2.png differ diff --git a/assets/winnetsetting3.png b/assets/winnetsetting3.png new file mode 100644 index 0000000..d85d50f Binary files /dev/null and b/assets/winnetsetting3.png differ diff --git a/assets/winnetsetting4.png b/assets/winnetsetting4.png new file mode 100644 index 0000000..cc0105f Binary files /dev/null and b/assets/winnetsetting4.png differ