How to turn a mac mini into a personal vpn server

Hi. Not sure if this is the subreddit for this question. I am trying to turn a 2012 mac mini into a personal VPN server, but I’m confused about how to proceed. All the videos and instructions I found say how to create an ubuntu VPN server to attach to, but nothing on how to turn a mac into a VPN server (except for buying macOS server which I don’t trust). Does anyone know where I can find instructions on how to pull this off?

​

My end goal is to make a secure connection to the mac mini, regardless of network or operating system I’m using to access it (macOS or Windows 10), so I can use it to store/retrieve files and screen share with it if needed.

خرید فیلترشکن