For me, it "portón" or "puerta" should be clear enough.
I've seen that the DRAE has "barrera" as some sort of synonym for "compuerta", but I have never heard it used that way.
__________________ ♪ ♫ ♪ Ain't it wonderful to be alive when the Rock'n'Roll plays... ♪ ♫ ♪