BGP communities Filtering

Does anyone know how to secure my /24 from layer 7 attacks? i already contacted my upstream he said:

Upstream said: you will have to add bgp community 940 to your advertisement in order for filtering to work properly.

e have a cross-connect link between ISP and my vyos

My vyos configuration 3

This is a duplicate with phabricator ticket , please don’t post duplicate posts

@runar ok

Please help me out someone who know how to set BGP communities filtering?

and dub from here:

and here:

please don’t spam.