That will be guest posting.
Forum posting will be the best way to get quality backlinks. all you need to do is look for website which has a direct relevant to your niche.
Quality backlinks can be created by various off page seo techniques. Relevant webpages with good content helps to build your website rank higher in search engines.
There are several off page techniques used for getting links.
Forum, blog, article, document, directory, social bookmarking etc.
Mine opinion is just follow all the off page seo techniques regularly..
The best idea to get quality back-links are blog commenting, guest blogging, social networking sites, Q&A etc.
Check the backlink profiles of your top competitors and try to earn links from those same websites.
Best way to get quality back links are forum posting, guest blogging, social networking sites, Q&A etc.
To get quality backlinks do Off page SEO build backlinks in high PR sites