ufw is not refreshing the IP forwarding after disable it in the current session
Bug #1339159 reported by
costales
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hi! :)
If you uncomment the IP forwarding and reload ufw, ufw see the change and ufw will allow routed rules.
But if you comment the IP fordwarding again and reload ufw, ufw will NOT see that change. You have to reboot.
For a clear/basic example, please, see the attachment file.
Best regards and thanks in advance!
PS: This is in Ubuntu 14.04.
Costales.
To post a comment you must log in.
Thank you for using ufw and reporting a bug. Rather than commenting out the sysctl values you should set them to '0' again if you want it to unapply. ufw is simply using the 'sysctl' command which ignores comments. ufw could try to keep track of this, but it would be highly error prone since may start before or after /etc/sysctl.d are evaluated, etc.