FreeBSD, Squid, OpenVPN, and PF
Dear Amanat,
Unfortunately, there is no shortcuts for this project, you need to study until you understand your system. I will recommend you read and follow the book "Squid: The Definitive Guide". By the time you go through it you'll understand Squid well...