Você pode configurar uma sessão ssh em seu computador particular e usá-la como um proxy SOCKS:
ssh -fD 8080 user@privatecomputer
Em seguida, configure seu terminal para usar um proxy:
export http_proxy="http://localhost:8080"
export https_proxy="https://localhost:8080"
export ftp_proxy="http://localhost:8080"
Em seguida, tente usar apt-get novamente.
Se você normalmente usa sudo para usar apt-get , pode ser necessário usar o seguinte:
visudo
#add the following line to the existing Defaults
Defaults env_keep = "http_proxy https_proxy ftp_proxy"