You want to be far enough away so that you don’t hit the net with your follow-through but if you are too far away you are more likely to miss the net and cause some damage. It clearly depends on the space you have however manufacturers often recommend hitting from about 10ft.