I'm making a very initial version of a home assistant and I need it storing informations on a server in my home. But as I didn't want to have an FTP server with open ports on the router, I made a server and port open is the OpenVPN server port, so the only way to communicate with the server are with OpenVPN or being in my home. Is there any way to connect the script to the server and get informations, for example files? I didn't want the whole computer to be connected, just the script that syncs the files. If it helps in any way, I'm using Windows 7.
Thanks in advance for any help!