I can't access the router nor the Raspberry Pi through SSH when connected to it through a VPN, which is hosted in the Raspberry Pi.
The issue doesn't appear in my phone, so the issue is in Windows. I also get an error in Brave:
Your Internet access is blocked. Firewall or antivirus software may have blocked the connection.
I am not sure what to do, I am unfamiliar with this kind of issue in Windows. I am using Windows 11 as OS and Raspberry Pi OS and pivpn as OS for the Raspberry Pi and VPN provider.
Both networks have as a gateway 192.168.0.1. The IP of the VPN network is static. The IP of the network in which Windows is connected is dynamic. The Raspberry Pi has a static IP address.
I am pretty sure the issue is in Windows firewall or something like that, but I am not sure where.
I also noticed that my networks shows as private but when I activate the VPN I see two networks, the ethernet network and the VPN network. This last one is connected as a public network. but I don't think that is the issue because at first both showed up as public.
I also tried connecting both my phone and PC to the VPN so I can use Sunshine but the phone doesn't detect the PC.