[Feature] Add relay filtering in configuration