Skip to content

Instantly share code, notes, and snippets.

@jsun969
Created December 25, 2022 10:34
Show Gist options
  • Save jsun969/3e948ed6c44531ba9fc9da82865d9fdb to your computer and use it in GitHub Desktop.
Save jsun969/3e948ed6c44531ba9fc9da82865d9fdb to your computer and use it in GitHub Desktop.
Enable Clash Proxy in WSL
# Get Host IP
cat /etc/resolv.conf | grep -oP '(?<=nameserver\ ).*'
# Enable Proxy
export http_proxy="http://:7890/"
export https_proxy="http://:7890/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment