Skip to content

Instantly share code, notes, and snippets.

@dreamlu
Last active May 7, 2025 02:18
Show Gist options
  • Save dreamlu/cf7cbc0b8329ac145fa44342d6a1c01d to your computer and use it in GitHub Desktop.
Save dreamlu/cf7cbc0b8329ac145fa44342d6a1c01d to your computer and use it in GitHub Desktop.

Revisions

  1. dreamlu revised this gist Jan 23, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion win-ss
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@ set http_proxy=http://127.0.0.1:1080
    set https_proxy=http://127.0.0.1:1080

    ps:一定要用cmd命令行,千万别用powershell !!!
    简易测试命令:curl google.com(别用ping)
    简易测试命令:curl https://www.google.com(别用ping)
  2. dreamlu revised this gist Jan 23, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion win-ss
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@ set http_proxy=http://127.0.0.1:1080
    set https_proxy=http://127.0.0.1:1080

    ps:一定要用cmd命令行,千万别用powershell !!!
    简易测试命令:curl google.com
    简易测试命令:curl google.com(别用ping)
  3. dreamlu revised this gist Jan 23, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion win-ss
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,5 @@ cmd命令行:(不用socks5)(临时设置)(也可放置环境变量)
    set http_proxy=http://127.0.0.1:1080
    set https_proxy=http://127.0.0.1:1080

    ps:一定要用cmd命令行,千万别用powershell !!!
    ps:一定要用cmd命令行,千万别用powershell !!!
    简易测试命令:curl google.com
  4. dreamlu revised this gist Jan 23, 2019. No changes.
  5. dreamlu created this gist Jan 23, 2019.
    8 changes: 8 additions & 0 deletions win-ss
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    环境:shadowsocks、windows
    本地ss端口设置(这里1080)

    cmd命令行:(不用socks5)(临时设置)(也可放置环境变量)
    set http_proxy=http://127.0.0.1:1080
    set https_proxy=http://127.0.0.1:1080

    ps:一定要用cmd命令行,千万别用powershell !!!