@jiwjiemmqes @jiwjiemmw If you’re trying to install snap packages in Tails, you have to add an iptables rule to allow the root
user to use the SOCKS proxy. Here are the steps which worked for me:
sudo snap set system proxy.http=socks5://127.0.0.1:9050
sudo snap set system proxy.https=socks5://127.0.0.1:9050
sudo iptables -I OUTPUT 3 -d 127.0.0.1/32 -o lo -p tcp -m tcp --dport 9050 --tcp-flags FIN,SYN,RST,ACK SYN -m owner --uid-owner 0 -j ACCEPT