🔥 CRITICAL: OPNsense NAT Reflection Required for Port Forwarding #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🔥 CRITICAL: OPNsense NAT Reflection Must Be Enabled
Issue Discovered: December 21, 2025
Reporter: jessikitty
Severity: HIGH - Blocks SSL certificate generation and internal service access
🎯 Problem Summary
When setting up OPNsense with port forwards (80, 443) to Nginx Proxy Manager, SSL certificate generation failed with error:
Firewall logs showed:
✅ Solution
Enable "Automatic outbound NAT for Reflection"
Location:
System > Settings > Advanced > Firewall & NAT
Settings:
After enabling this single setting:
📚 Documentation Created
Complete troubleshooting guide: TROUBLESHOOTING_NAT_REFLECTION.md
Also available in:
/mnt/user-data/outputs/OPNSENSE_NAT_REFLECTION_FIX.mdWhat the Guide Covers:
Symptoms to watch for
Step-by-step fix
Technical explanation
Common scenarios
🎓 Why This Matters
Without NAT Reflection:
With NAT Reflection:
📋 Must Add to Main Guide
This setting should be added to MAC_MINI_OPNSENSE_GUIDE.md at:
Phase 1, after Step 1.7 (Configure DHCP Server)
New Step 1.7b: Enable NAT Reflection
Addendum created:
/mnt/user-data/outputs/GUIDE_ADDENDUM_NAT_REFLECTION.md🔍 Real-World Impact
User Setup:
Before NAT Reflection:
After Enabling NAT Reflection:
⚠️ Critical for These Use Cases
This setting is REQUIRED when:
NOT required when:
🎯 Action Items
📊 Configuration Details
Network Setup:
Error Seen:
Diagnostic Results:
🚀 Resolution Timeline
19:00 - SSL certificate generation fails
19:15 - Firewall logs show state violations
19:30 - Diagnostic checks (DNS, IP, port forwards all correct)
19:45 - Identified NAT Reflection as root cause
19:50 - Enabled "Automatic outbound NAT for Reflection"
19:51 - SSL certificate generates successfully! ✅
20:00 - Documentation created
Total time to fix: < 5 minutes after identifying correct setting
Total time troubleshooting: ~50 minutes (could have been 5 with proper docs!)
💡 Key Takeaway
ONE checkbox solves:
This should be in EVERY OPNsense port forwarding guide!
📖 References
/mnt/user-data/outputs/GUIDE_ADDENDUM_NAT_REFLECTION.mdThis is a CRITICAL finding that will save others hours of troubleshooting! 🎉
Credit to @jessikitty for:
Everyone using OPNsense with port forwards needs to know about this!