On the router using SSH.
It will be tricky, it will be dangerous … but that’s what you get when you want to use it.
You should, maybe, test it with a LUKS device without important data.
@bring.fringe18 How would you do it?