#!/bin/bash
hostip=$(awk '/nameserver/{print $2}' /etc/resolv.conf | head -1)
proxy_port=7890
set_proxy() {
export all_proxy="http://${hostip}:${proxy_port}"
}
unset_proxy() {
unset all_proxy
}
set_proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
cyd1310997/wsl2-clash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published