if you put a portal inside the wall then the other portal will act as a wall and you can place it on the x's