You are not logged in.

#1 2023-11-05 23:07:45

9acca9
Member
Registered: 2017-02-03
Posts: 35

UFW is not blocking? why?

So, i have this rules:

sudo ufw status numbered                                        
Status: active

     To                         Action      From
     --                         ------      ----
[ 1] 8083                       ALLOW IN    Anywhere                  
[ 2] Anywhere                   DENY IN     192.168.0.143             
[ 3] 3000                       ALLOW IN    192.168.0.0/24            
[ 4] 22                         ALLOW IN    192.168.0.0/24            
[ 5] 8085/tcp                   ALLOW IN    Anywhere                  
[ 6] 8083 (v6)                  ALLOW IN    Anywhere (v6)             
[ 7] 8085/tcp (v6)              ALLOW IN    Anywhere (v6)             

but, if i try from outside my network to reach the port 6875....... i can... but why?
I need to add something more?

Offline

#2 2023-11-06 07:06:02

-thc
Member
Registered: 2017-03-15
Posts: 530

Re: UFW is not blocking? why?

What are the defaults?

ufw status verbose

Offline

#3 2023-11-06 09:35:52

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 98

Re: UFW is not blocking? why?

Surely you are only denying  in from 192.168.0.143

Offline

#4 2023-11-06 20:21:40

seth
Member
Registered: 2012-09-03
Posts: 53,250

Re: UFW is not blocking? why?

@NoSavvy, https://wiki.archlinux.org/title/Uncomp … figuration
ufw default isn't printed by the basic status call, so we don't know what that looks like (though it's plausible that the OP has set it to allow and that would explain the perceived behavior and be easy to fix)

Offline

Board footer

Powered by FluxBB