With UFW, I disabled all outgoing and ingoing traffic by default. However, I do allow port 80 in and out:
sudo ufw default deny incoming(deny all incoming)
sudo ufw default deny outgoing(deny all outgoing)
sudo ufw allow in 80/tcp(accept all incoming tcp from port 80)
sudo ufw allow out 80/tcp(accept all outgoing tcp to port 80)
Yet, the following commands don't seem to work. Could anyone tell me why?
mainuser@saturn101:~/apps/mongodb$ curl http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.0.4-rc1.tgz > mongodb-2.0.4-rc1.tgz curl: (6) Couldn't resolve host 'fastdl.mongodb.org'
ping google.com ping: unknown host google.com
sudo apt-get update