Here is a way to generate a random tunnel using the Euler angles to make it rotate and twist in the space.