Accessing shares over VPN: AFP works, but not SMB
I have a Mac mini in a closet at home with some network shares active. I also run a VPN server (on another machine) that allows me to connect remotely and access my home network.
Connecting though the VPN everything but accessing SMB shares works just fine: I can ping computers on my home network, I can connect to them though VNC and I can mount AFP shares.
However, as MacOS has moved away from AFP shares, so have I. Newer volumes using APFS are only shared using SMB and here's where my troubles start. When I'm at home, SMB mounts just fine, but trying to connect through the VPN, they time out. Mounting AFP volumes works without problem.
Does anyone have an idea of what I could try? It seems like I would be working, right? The VPN is set to allow all ports.
Mac mini, macOS 10.14