Enabling packet filtering upon reboots