What is the proper placement for a flange used on plumbing vents?

What is the proper placement for a flange used on plumbing vents?