The biggest problem with a wooden or brick fence would be that you can’t see who or what is on the other side. Same with a berm. But ymmv.
Not if you have thermal scope attached to your rifle barrel..:-)