1.9 KiB
1.9 KiB
UDM Pro SSH Access Issue
Date: 2026-01-21
Status: ⚠️ SSH Connects But Commands Not Returning Output
Issue
SSH connection to UDM Pro is successful (host key is being added), but commands are not returning output. This could be due to:
- Permission Issues: User OQmQuS may not have permission to run iptables commands
- Sudo Required: Commands may need sudo privileges
- Shell Environment: Shell may be restricted or non-interactive
- Command Execution: Commands may be running but output is being suppressed
Alternative Approaches
Option 1: Manual SSH Session
Connect manually and run commands:
ssh OQmQuS@192.168.11.1
# Enter password: m0MFXHdgMFKGB2l3bO4
# Then run:
sudo iptables -t nat -L PREROUTING -n -v | grep "76.53.10.36"
sudo iptables -L FORWARD -n -v --line-numbers | head -50
Option 2: Check Web UI
Since SSH commands aren't working, check the Web UI directly:
-
Port Forwarding Rules:
- Settings → Firewall & Security → Port Forwarding
- Verify rules for 76.53.10.36 are enabled
-
Firewall Rules:
- Settings → Firewall & Security → Firewall Rules
- Check if "Allow Port Forward..." rules exist
- Verify they are at the top of the list
Option 3: Use UniFi API
If SSH is limited, we could use the UniFi API to check configuration.
Recommended Next Steps
Since automated SSH commands aren't working:
- Manual SSH Session: Connect manually and run diagnosis commands
- Web UI Check: Verify port forwarding and firewall rules in Web UI
- Rule Verification: Ensure rules are enabled and in correct order
Quick Web UI Checklist
- Port forwarding rules for 76.53.10.36:80/443 are enabled
- Firewall "Allow Port Forward..." rules exist
- Allow rules are above any block rules
- Rules are saved and applied
Status: SSH access available but automated commands need manual execution