A flexible approach to configuration of linux-based firewalls