Could not delete non-existent rule.



  • Full Error: Could not delete non-existent rule

    What was being executed at the time?

    $ sudo ufw delete deny 53
    Could not delete non-existent rule
    Could not delete non-existent rule (v6)
    

    Resolution:
    The rule does not exist in ufw. If you added specific rules for port 53 i.e. 53/tcp, 53/udp. You need to specify the protocol too.

    First check the status.

    $ sudo ufw status
    

    If there is a rule there for port 53/tcp or 53/udp, you need to use this command.

    $ sudo ufw delete deny 53/tcp
    

Log in to reply
 

© Lightnetics 2019