backup: 2026-04-20 17:44
This commit is contained in:
@@ -59,7 +59,7 @@ alias localip="ip -4 addr show | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | grep -v 1
|
||||
|
||||
# Proxy
|
||||
# Включение прокси (HTTP, HTTPS и SOCKS5h для DNS через прокси)
|
||||
alias proxy-on='export http_proxy="http://127.0.0.1:2080" https_proxy="http://127.0.0.1:2080" ALL_PROXY="socks5://127.0.0.1:2080" all_proxy="socks5://127.0.0.1:2080" && echo " Proxy enabled (127.0.0.1:2080)"'
|
||||
alias proxy-on='export http_proxy="http://127.0.0.1:7897" https_proxy="http://127.0.0.1:7897" ALL_PROXY="socks5://127.0.0.1:7897" all_proxy="socks5://127.0.0.1:7897" && echo " Proxy enabled (127.0.0.1:7897)"'
|
||||
|
||||
# Полное отключение всех переменных прокси
|
||||
alias proxy-off='unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY all_proxy ALL_PROXY && echo " Proxy disabled"'
|
||||
|
||||
Reference in New Issue
Block a user