I've set up a server running Arch Linux and pointed DynDNS to it, but I'm facing an odd issue. I can SSH into the server from my local network without any problem, but when I try to connect from external sources, I get a "permission denied" error. This seems to happen with both HTTPS connections through nginx and SSH, so it looks like it might affect all ports. I've tried disabling protections and resetting the firewall (ufw) to almost nothing, but I'm still getting blocked. There are no logs showing any connection attempts or issues. Adding to the frustration, KDE's network folder plugin is also failing, giving me errors like "Authentication failed" or "Unable to connect to server," even though SSH works fine using the same settings.
2 Answers
Have you checked if your Fritz!Box is actually forwarding the ports correctly? It sounds like you might need to verify the port forwarding settings. If you're using only IPv6, confirm that the address matches exactly. Also, remember to double-check which ports you've explicitly forwarded in the router's settings.
You mentioned there are no relevant logs, but make sure to keep an eye on the firewall logs too. Sometimes they can provide hints even if other services like nginx and journalctl show nothing. If ufw isn't blocking anything and you still have no logs, it definitely sounds like something is amiss at the network level.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures