Why am I getting “permission denied” for outside connections on my Arch Linux server?

0
0
Asked By TechNinja91 On

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

Answered By RouterGuru88 On

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.

Answered By LogSeeker197 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.