The best way to protect yourself from the ghast is to stop their spawning in your room of the nether house. To stop spawning them, you need to make the block transparent with the light of a torch.
Or, you can hide inside any glass tunnel as they can not see through glass.