Actually, don't bother posting that output.
Quote:
Originally Posted by archShade
If I have understood I should not be able to connect to the Internet now but I still can (I am posting this with these settings).
|
Where did you get that understanding from? I don't use
ufw, but I just ran it on a disposable guest to see how it worked. After looking at the rules it implements after doing an
ufw enable, it seems clear that it's designed to allow inbound packets in states RELATED or ESTABLISHED, as well as all outbound packets. This is a sensible default for this kind of tool IMHO. The behavior you're describing seems expected and normal to me.
Quote:
Originally Posted by archShade
Code:
Me@Ubuntu:~$ sudo ufw enable
Firewall is active and enabled on system start up
Me@Ubuntu:~$ sudo ufw default deny
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)
Me@Ubuntu:~$ sudo ufw status
Status: active
|
AFAICT, that second command you executed wouldn't really change anything, since a deny policy is used by default anyway. I think it's only meant to switch the policy back, in case you had changed it to allow.