I have an ubuntu server (as a NAS) at home. I use an always-on Raspberry Pi to turn the server on when I need it (WakeOnLan). Both the server and the Pi are accessible via the local network.
My router is configured for port forwarding of both the Pi port and the server ports.
My problem: I can access the Pi remotely, but for some reason not the server itself. I can first ssh to the Pi and from there to the server, though. Even when I copied the /etc/ssh/sshd_config from my Pi to the server, I still couldn't access it remotely. What could be the issue here?