That hard work is termed pfSense, and it truly is an open-source job depending on the FreeBSD running process. It has been specifically tuned for this kind of responsibilities and includes an easy-to-use web interface https://macktechbiz.com/blogs/news