Skip to content

Instantly share code, notes, and snippets.

@huweige
Forked from dreamlu/win-ss
Created December 4, 2020 18:22
Show Gist options
  • Save huweige/f9a5aee569562534e4467cf2de5e029e to your computer and use it in GitHub Desktop.
Save huweige/f9a5aee569562534e4467cf2de5e029e to your computer and use it in GitHub Desktop.

Revisions

  1. @dreamlu 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 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 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 dreamlu revised this gist Jan 23, 2019. No changes.
  5. @dreamlu 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 !!!