Originally Posted by
swerdna
I've been puzzling over this. Something seemed wrong to me.
So, with respect:
If I type your "outbound" version and take a screenshot in GUFW. Then delete the rule. Then type your "inbound" and take a screenshot. Then the two screenshots are identical.
Further, if I start with no rules and type one of the variants I get a response "rule added". Then if I type the other variant I get the response "skipping adding existing rule".
So one is not an outbound rule and the other an inbound rule. They are the same rule.
What do you think, is that right?
You're quite right. After quite a bit of fiddling, I think I've finally found it.
This seems to be a correct outbound rule:
Code:
sudo ufw allow proto udp to 192.168.1.0/24 port 137 from any
This seems to be a correct inbound rule:
Code:
sudo ufw allow proto udp from 192.168.1.0/24 port 137 to any
Care to confirm with some testing?
Bookmarks