Claymores and land mines would work better.
You are correct.
After a few deaths, the crossings would stop