Filtering hosts belonging to private networks