NS8 on VPS - restrict access to webservices

I’m willing to learn, but i have to admit that i do not understand what to do :man_facepalming:
What i can do is providing a VPS for testing if needed and of course share what i have. I do own a domain so it would be possible to play around with DNS etc.

But as already stated it should be possible to block web services. Even wg-easy is providing a web interface wich is accessible from the world.

i checked this

and added to mariadb1.yml and wordpress1.yml the following after http to see if i get blocked:

 middlewares:
    test-ipallowlist:
      ipAllowList:
        sourceRange:
          - "127.0.0.1/32"
          - "192.168.1.7"

Unfortunately with no success.
I’m not sure if i have to restart the container, anyway a podman restart --all did not have any affect.