Skip to content

APT VIA SOCKS5 PROXY

Matvey Gladkikh edited this page Jul 20, 2022 · 1 revision

establish SSH socks5 proxy in screen:

ssh user@HOST -D9999

configure apt to use socks5 proxy:

cat > /etc/apt/apt.conf.d/proxy.conf <<EOF
Acquire::http::proxy "socks5h://localhost:9999";
EOF
apt-get update;
Clone this wiki locally