83 lines
1.8 KiB
Markdown
83 lines
1.8 KiB
Markdown
# UDM Pro SSH Diagnosis Results
|
|
|
|
**Date**: 2026-01-21
|
|
**UDM Pro IP**: 192.168.11.1
|
|
**SSH User**: OQmQuS
|
|
**Status**: ✅ SSH Connection Successful
|
|
|
|
---
|
|
|
|
## Connection Status
|
|
|
|
✅ **SSH Connection**: Working
|
|
✅ **Authentication**: Successful
|
|
⚠️ **Command Execution**: Commands executing but output needs verification
|
|
|
|
---
|
|
|
|
## Diagnosis Commands Run
|
|
|
|
### 1. System Information
|
|
```bash
|
|
uname -a
|
|
```
|
|
|
|
### 2. Port Forwarding Rules (NAT Table)
|
|
```bash
|
|
iptables -t nat -L PREROUTING -n -v | grep "76.53.10.36"
|
|
```
|
|
|
|
**What to check:**
|
|
- Should show DNAT rules for 76.53.10.36:80 → 192.168.11.166:80
|
|
- Should show DNAT rules for 76.53.10.36:443 → 192.168.11.166:443
|
|
|
|
### 3. Firewall Rules (FORWARD Chain)
|
|
```bash
|
|
iptables -L FORWARD -n -v | head -40
|
|
```
|
|
|
|
**What to check:**
|
|
- Look for ACCEPT rules for 192.168.11.166:80
|
|
- Look for ACCEPT rules for 192.168.11.166:443
|
|
- Check rule order (allow before block)
|
|
|
|
### 4. Firewall Rules for NPMplus
|
|
```bash
|
|
iptables -L FORWARD -n -v | grep -i "192.168.11.166"
|
|
```
|
|
|
|
**What to check:**
|
|
- Should show ACCEPT rules
|
|
- Should NOT show DROP/REJECT rules
|
|
|
|
---
|
|
|
|
## Expected Findings
|
|
|
|
### If Port Forwarding is Working:
|
|
```
|
|
DNAT tcp -- 0.0.0.0/0 76.53.10.36 tcp dpt:80 to:192.168.11.166:80
|
|
DNAT tcp -- 0.0.0.0/0 76.53.10.36 tcp dpt:443 to:192.168.11.166:443
|
|
```
|
|
|
|
### If Firewall Allows Traffic:
|
|
```
|
|
ACCEPT tcp -- 0.0.0.0/0 192.168.11.166 tcp dpt:80
|
|
ACCEPT tcp -- 0.0.0.0/0 192.168.11.166 tcp dpt:443
|
|
```
|
|
|
|
---
|
|
|
|
## Next Steps
|
|
|
|
Based on the diagnosis results:
|
|
|
|
1. **If NAT rules are missing**: Enable port forwarding rules in Web UI
|
|
2. **If firewall is blocking**: Add allow rules or reorder rules in Web UI
|
|
3. **If rules are disabled**: Enable them in Web UI
|
|
4. **If rule order is wrong**: Reorder rules in Web UI
|
|
|
|
---
|
|
|
|
**Status**: Diagnosis in progress - checking command output...
|