Walls and fences seem to work everywhere but the US.
This is simple. Start with razor wire then a layer of antipersonnel mines then the 4 meter wall with periodic guard towers housing machine guns with interlocking zones of fire.
Easy, peazy.