My VM is running on the 192.168.1.0 network. If I connect to it using VPN (on sub 10.0.1.0) I cannot reach the weblogin page. Nmap confirm that port 443 is filtered, however, my firewall isn’t blocking that port. Do you have any tip on how troubleshoot this?
Nmap cannot determine whether the port is open because packet filtering prevents its probes from reaching the port. Nmap cannot determine whether the port is open because packet filtering prevents its probes from reaching the port. The filtering could be from a dedicated firewall device, router rules, or host-based firewall software
I’m not a network expert, but as far as I understand it, something on the host you are running nmap or something in between is preventing you from probing port 443 on the target machine.
Off the top of my head I can think of the following, which are just wild guesses…
A routing or firewall issue on the VPN network (10.0.1.0/24) that prevents traffic going to your server network (192.168.1.0/24)
A routing or firewall issue on the network or device from which you are connecting to the VPN.
overlapping subnets. I.e. identical or overlapping IP ranges on both ends of the tunnel (Tip: Don’t use 10.0.1.0/24 or 192.168.1.0/24 for networks you want to connect to over a VPN)
Thanks for the tips, however, seems to be related to something else, that’s why I’m asking about the VM. Obviously, I have checked iptable already and isn’t the issue. I’m thinking about apache…
So it seems to be VPN-related.
Either rules in the router to forward requests to the Nextcloud instance are missing or mis-configured or - depending on the VPN-client - the settings may be not ok to access the Nextcloud server.
well, I was able to fix it, no idea why but turn out the issue was on a rule in my ha-proxy setup. It doesn’t make sense to me so I cannot even provide more details.