Tilting Earth Forward/Backward

Does anyone have an example of:
1- Tilt the Earth 23.45 degrees. But instead of to the left or right, I want to move it toward or away from the user.
2- Then I would like to lock that tilt angle in and turn the Earth.
Thanks.