Is a ufw reload necessary after adding a rule?

Asked by Paul on 2016-08-05

I'm using a script to wget a list of IP addresses from a cloud provider and add any new IP addresses to ufw. The script is cron run weekly.
Is it necessary to reload ufw after adding new 'allow' rules?
I've tried it, and it appears to dynamically enforce the rule without a reload, but reading the ufw man page, it say's "ufw will not flush the chains when adding or removing rules".

Could you clarify please.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ufw Edit question
Assignee:
No assignee Edit question
Last query:
2016-08-05
Last reply:
2016-08-05

Yes or the configuration won't be reread. It's pretty standard for all services

Can you help with this problem?

Provide an answer of your own, or ask Paul for more information if necessary.

To post a message you must log in.