Peter wants to know if he can roll his own VPN using a NAS. Leo says he can create a VPN using any computer. It just needs a VPN server. OpenVPN is one such. WireGuard is the best choice. It's part of Linux already. But if he's thinking of doing it to work, make sure he has permission to do so.