There's two ways to get into it. If you go out through the western door of the castle and follow the path west and then north, it's kind of a maze but you can get to the teleporter. There's also a hatch somewhere if you have high enough perception to see it and dig. It's kind of near the castle.