Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Port Forwarding Stopped Working "solved"
« previous
next »
Print
Pages: [
1
]
Author
Topic: Port Forwarding Stopped Working "solved" (Read 2498 times)
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Port Forwarding Stopped Working "solved"
«
on:
March 09, 2024, 08:31:56 pm »
I had everything set up for forward a few ports and everything had been fine for months. I got a new modem so xfinity would give me 200mbps upload instead of only 35mbps (Hitron CODA, one of only 5 modems approved even though my Arris S33 is actually better) and right after setting up the new modem, I installed a few plugins.
I installed CrowdSec, WOL, ACME and ntopng, then enabled WireGuard.
I have uninstalled CrowdSec and disabled WireGuard and double checked all my port forwards and everything seems to be as it was before. I doubt the new modem is blocking the ports but figured I'd mention it just in case.
The only ports that seem to work are 80 and 443
Edit: SOLUTION
reinstall opnsense...
«
Last Edit: March 20, 2024, 04:43:55 am by EnduringGuerila
»
Logged
Saarbremer
Sr. Member
Posts: 353
Karma: 14
Re: Port Forwarding Stopped Working
«
Reply #1 on:
March 09, 2024, 09:40:09 pm »
Check live view in firewall for blocked packets, identify malicious rule or if unsuccessful, check with packet capture whether there even is some traffic coming in. Or try it the other way round. Guessing a possible issue is not the choice to make
Logged
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Re: Port Forwarding Stopped Working
«
Reply #2 on:
March 09, 2024, 09:55:46 pm »
yea, looks like it says label 'default deny / state violation rule'
how do I get rid of this
«
Last Edit: March 09, 2024, 09:58:47 pm by EnduringGuerila
»
Logged
Saarbremer
Sr. Member
Posts: 353
Karma: 14
Re: Port Forwarding Stopped Working
«
Reply #3 on:
March 10, 2024, 02:44:40 pm »
Sorry, I don't understand neither your expected result nor your actual result.
Which port forwards do no longer work? What ports are expected to be forwarded? Which traffic causes the default deny rule to trigger? Did you change your WAN's interface behaviour during replacement of the modem?
Logged
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Re: Port Forwarding Stopped Working
«
Reply #4 on:
March 12, 2024, 12:15:11 am »
So it looks like everyone has a default deny all auto generated entry and the manual entries are supposed to override it. That doesn't seem to be happening anymore for me and I don't know why
Logged
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Re: Port Forwarding Stopped Working
«
Reply #5 on:
March 14, 2024, 09:36:15 pm »
Alright, so I did too many changes at around the same time. The issue is that my manual port forward rules that were working stopped working and my connection attempts are hitting the Default Deny rule based on what I see in the live log.
I installed the packages at the top as mentioned but I forgot I also upgraded to a new version of OPNSense the same day. I don't know which action actually broke the port forwarding.
I've tried so many times to edit these rules to see if anything worked and nothing seems to be getting past the default deny. I know the aliases are set correctly as then were working before and when I hover over them, they display the correct values.
I also tried: Firewall: Diagnostics: States: reset state table
and nothing changed
«
Last Edit: March 19, 2024, 12:56:42 am by EnduringGuerila
»
Logged
Saarbremer
Sr. Member
Posts: 353
Karma: 14
Re: Port Forwarding Stopped Working
«
Reply #6 on:
March 15, 2024, 10:42:20 am »
And the aliases are?
Logged
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Re: Port Forwarding Stopped Working
«
Reply #7 on:
March 16, 2024, 06:56:48 am »
The aliases are set correctly. They were working before and I double checked them. HTPCip is literally just the local ip of the computer and jellyfin default port.
I think something is majorly broken that no one will be able to diagnose so I think I'm just going to wipe and fresh install opnsense.
Logged
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Re: Port Forwarding Stopped Working
«
Reply #8 on:
March 19, 2024, 12:58:38 am »
So, I haven't reinstalled yet but I did notice something.
I temporarily Disabled DNS Rebinding Checks
and now when I try to load my website from the web, it prompts me to log into opnsense!
Logged
Patrick M. Hausen
Hero Member
Posts: 6608
Karma: 560
Re: Port Forwarding Stopped Working
«
Reply #9 on:
March 19, 2024, 01:00:35 am »
If you port-forward or otherwise redirect web sites from WAN for public access it is recommended to move your OPNsense UI to a different port, e.g. 4443, and also disable the HTTP --> HTTPS redirect.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Re: Port Forwarding Stopped Working
«
Reply #10 on:
March 19, 2024, 01:07:03 am »
Just changed the web ui port and now I just get address not found issues, still says in the firewall log it's being blocked by the default deny all rule
Logged
EnduringGuerila
Newbie
Posts: 8
Karma: 0
Re: Port Forwarding Stopped Working
«
Reply #11 on:
March 20, 2024, 04:42:54 am »
I also tried switching everything to a reverse proxy, nothing was working.
The solution to all my problems, just reinstalling opnsense. This time I installed as a vm in proxmox and will have automated backups so if some weird shit breaks again I can just roll back and try again.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Port Forwarding Stopped Working "solved"