ufw blocking apt

view story

http://serverfault.com – I have the same Problem as described here, but the given solution doesnt work for me: ufw blocking apt and dns When I add the rule ufw deny out to any, and add the port 80, 443/tcp, ssh-port as exceptions, and then add iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT I still am not able to use apt-get update, or similar things. root@iof304:~# ufw status Status: active To Action From -- ------ ---- 22 DENY Anywhere 80 ALLOW Anywhere (ssh) (HowTos)