I have a layer containing points (in yellow) and a layer containing the Exclusive economic zones of all countries (as polygons, its geometry is MultiPolygon). See the image below:
I would like to create a buffer around the edges of all EEZ regions and determine how many of the points are contained within the buffered region.
I tried finding relevant questions on this website, but haven't found one that answers mine yet. For instance, there's this one, but it focuses on dissolving all separate polygons depicting the Spanish autonomous communities and creating a buffer around Spain as a whole. This is not what I'd like to do. I would like to create a buffer around the lines that trace out the borders of the separate communities, or in my case, the EEZ regions.
Is there a way to do that in QGIS 3.10.11?
I followed @Eric's answer, but I run into some difficulties. Here's the menu for the buffering of the polygons:
I see a Modify All Features button, but I don't want to modify anything, I just want to create a new layer with the buffer. What am I doing wrong?
Also, it seems that when I do this, it buffers inwards, and it only buffers the countries on the coastal area (not the EEZ themselves). Here's what it looks like:


