Today I connected multiple Wireguard hosts to NextCloud as external storages. Wireguard is only used to route traffic within its network, not 0.0.0.0 . Thanks to wireguard, I mounted all of my computers to nextCloud via SFTP. Now my storage problem is solved, and I have an extremely fast connections across host folders through NextCloud.
I just thought this is something others can try. If anyone’s is wodering, for mounts within the same country, SFTP does not make things slow. I am streaming HD movies accross PCs via wireguard on NextCloud.
Fun fact, the only way to get this to work reliably is to Activate reddis caching.
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
THanks NextCloud for attaching SFTP as external storage solution.