Initial working situation:WAN interface reports 198.51.100.12. DNS lookup of dyn.example.com resolves to 198.51.100.12. Wireguard connects and local webserver works correctly from externally.
ISP lease expires and provides new lease. WAN interface reports 198.51.100.15. DNS lookup of dyn.example.com resolves to 198.51.100.15? Wireguard existing tunnel continues working? Wireguard new connection works? Local webserver receives no incoming connections? OPNSense forwarding rule receives no incoming connections?
Connections to my webserver are refused.
ISP lease expires and provides new lease. WAN interface reports 198.51.100.15. DNS lookup of dyn.example.com resolves to 198.51.100.15?
Wireguard existing tunnel continues working?
Wireguard new connection works?
Local webserver receives no incoming connections?
OPNSense forwarding rule receives no incoming connections?
I doubt that suddenly, OpnSense chooses to deny new TCP connections unless your firewall rules are weird.
After all, each incoming connection has to be a new one after a WAN IP renewal - all old connections must have been dropped already.
Hi, I have a weird problem:I am using dyndns to host some services at home. If my ISP is providing me with a new public ip address, all is synced correctly vis ddclient. DNS is resolving the correct address and also wireshark VPN (UDP!) works fine. But all requests to my piblic IP based on TCP are dropped. Or at least my self hosted websites cant be resolved.If I reload my PPPoE connection till I get a new IP from the ISP (3 times normally), TCP traffic to my public IP is resolved correctly again. This is a very inconvenient issue, because I need to monitor my service constantly and if it's down, I need to log in via VPN to reload the PPPoE Interface till I get a new IP.Any ideas how to debug this further? I contacted the ISP and also tried a different router. No problems there. That's why I assume it is something buggy in OPNsense...
QuoteLocal webserver receives no incoming connections? correct. also using the new wan IP does not reach the web server.QuoteOPNSense forwarding rule receives no incoming connections?to be verified as soon as the issue occures again (mostly every couple of days)
Some terminology clarity would be useful.- "But all requests to my piblic IP based on TCP are dropped" . Are they being dropped by the firewall and can be seen from the OPN side?
Or do you mean connections from another network (mobile phone for instance) time out, get rejected, what?
And are they done to the new ip or to an url?
- "Or at least my self hosted websites cant be resolved.". Which one is it, dns is updated or not?
Done an external dns query? Resolves or not to the new ip?
These websites, how are they being served through OPN, haproxy, port forwarding, nginx, etc?
Unplugging the modem might suffice