How to configure KODI for a remote video library using VPN



Hi everyone,
At home, I’ve installed a Fire TV with Kodi on all my smart TVs. They all access a NAS where I have two shared video folders named “TVSERIES” and “MOVIES.” My entire network is protected using a PFSENSE firewall configured with a VPN. When I’m traveling, I connect to the VPN from my laptop, open Kodi, and begin streaming my home video files.

However, I constantly experience buffering errors. Every 2 to 5 minutes, the video freezes and then resumes after a few seconds. This happens no matter where I connect from. What am I doing wrong?

Thanks in advance.