Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - scottandbothered

#1
I did not ask my ISP. My other router grabs a new IP fine, automatically or manually. Although it's also not trying to grab one every couple of hours.
#2
Nope. I put my old firewall back in place because I ran out of time to keep messing with this.
I was going to try and do a clean install and see if that fixes it. Not a great solution but that's probably the direction any suggestions were going to point.
#3
I installed opnsense on this box a while ago and it sat on the shelf powered off never used. I think it was on version 21. I decided to work on this again and got it updated to version 24.
#4
Haven't found a solution yet. Looks like this (I'm assuming) backup job runs every 2-3 hours and is causing the problem. I can't find any place to stop backups from running.

2024-09-03T18:44:22-04:00 Notice configctl event @ 1725403462.03 exec: system event config_changed response: OK
2024-09-03T18:44:22-04:00 Notice configctl event @ 1725403462.03 msg: Sep 3 18:44:22 HiveFW.localdomain config[18811]: config-event: new_config /conf/backup/config-1725403462.0203.xml
#5
Checked the bios for any power options. I didn't find anything glaring that would be putting the system to sleep or shutting down nics.
#6
OPNsense 24.7.3_1-amd64
WAN Connection: Auto IP
WAN Connected: ONT -> opnsense wan port
ISP: Verizon FIOS

Disabling the wan interface and re-enabling it fixes the issue.

I came across a similar issue and it was noted to change the wanip lease time in the wan interface advanced config. I did put an entry in the option modifier for that (supersede dhcp-lease-time 999999)

General logs show the start of the issue, disable / enable wan interface and coming back online.


2024-09-03T13:59:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : wireguard_sync(,wan))
2024-09-03T13:59:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
2024-09-03T13:59:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : vxlan_configure_do())
2024-09-03T13:59:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
2024-09-03T13:59:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
2024-09-03T13:59:09-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : opendns_configure_do())
2024-09-03T13:59:08-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : ntpd_configure_do())
2024-09-03T13:59:08-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2024-09-03T13:59:08-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (,wan)
2024-09-03T13:59:07-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (execute task : dpinger_configure_do())
2024-09-03T13:59:07-04:00 Notice opnsense /interfaces.php: plugins_configure monitor ()
2024-09-03T13:59:07-04:00 Notice opnsense /interfaces.php: ROUTING: keeping inet default route to MYIP
2024-09-03T13:59:07-04:00 Notice opnsense /interfaces.php: ROUTING: configuring inet default gateway on wan
2024-09-03T13:59:07-04:00 Notice opnsense /interfaces.php: ROUTING: entering configure using defaults
2024-09-03T13:59:07-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip_map (execute task : rfc2136_configure_do(,wan))
2024-09-03T13:59:07-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip_map (execute task : dhcrelay_configure_map(,wan,inet))
2024-09-03T13:59:07-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip_map (,wan,inet)
2024-09-03T13:59:07-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : wireguard_sync(,wan))
2024-09-03T13:59:07-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
2024-09-03T13:59:07-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : vxlan_configure_do())
2024-09-03T13:59:05-04:00 Error opnsense /usr/local/etc/rc.newwanip: The command '/bin/kill -'TERM' '98097''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 98097: No such process'
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : opendns_configure_do())
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : ntpd_configure_do())
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure newwanip (,wan)
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : wireguard_configure_do(,wan))
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface WAN.
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : openvpn_configure_do(,wan))
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : ipsec_configure_do(,wan))
2024-09-03T13:59:05-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure vpn (,wan)
2024-09-03T13:59:04-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_DHCP))
2024-09-03T13:59:04-04:00 Notice opnsense /usr/local/etc/rc.newwanip: plugins_configure monitor (,WAN_DHCP)
2024-09-03T13:59:04-04:00 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping inet default route to MYIP
2024-09-03T13:59:04-04:00 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: configuring inet default gateway on wan
2024-09-03T13:59:04-04:00 Notice opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'wan'
2024-09-03T13:59:04-04:00 Notice opnsense /usr/local/etc/rc.newwanip: IP renewal starting (new: MYIP80, old: MYIP80, interface: wan, device: igb0, force: yes)
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure dns (execute task : unbound_configure_do())
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure dns (execute task : dnsmasq_configure_do())
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure dns ()
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure dhcp (execute task : dhcpd_dhcp_configure())
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure dhcp ()
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure ipsec (execute task : ipsec_configure_do(,wan))
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure ipsec (,wan)
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (execute task : dpinger_configure_do(,WAN_DHCP))
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (,WAN_DHCP)
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: ROUTING: setting inet default route to MYIP
2024-09-03T13:59:04-04:00 Notice opnsense /interfaces.php: ROUTING: configuring inet default gateway on wan
2024-09-03T13:59:03-04:00 Notice opnsense /interfaces.php: ROUTING: entering configure using 'wan'
2024-09-03T13:59:03-04:00 Notice dhclient dhclient-script: Creating resolv.conf
2024-09-03T13:59:03-04:00 Notice dhclient dhclient-script: New Routers (igb0): MYIP
2024-09-03T13:59:03-04:00 Notice dhclient dhclient-script: New Broadcast Address (igb0): MYIP
2024-09-03T13:59:03-04:00 Notice dhclient dhclient-script: New Subnet Mask (igb0): 255.255.255.0
2024-09-03T13:59:03-04:00 Notice dhclient dhclient-script: New IP Address (igb0): MYIP80
2024-09-03T13:59:03-04:00 Notice dhclient dhclient-script: Reason BOUND on igb0 executing
2024-09-03T13:59:03-04:00 Notice dhclient dhclient-script: Reason ARPCHECK on igb0 executing
2024-09-03T13:59:01-04:00 Notice dhclient dhclient-script: Reason ARPSEND on igb0 executing
2024-09-03T13:59:00-04:00 Notice dhclient dhclient-script: Reason PREINIT on igb0 executing
2024-09-03T13:58:59-04:00 Notice configctl event @ 1725386339.15 exec: system event config_changed response: OK
2024-09-03T13:58:59-04:00 Notice configctl event @ 1725386339.15 msg: Sep 3 13:58:59 HiveFW.localdomain config[36132]: config-event: new_config /conf/backup/config-1725386339.1438.xml
2024-09-03T13:58:54-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : wireguard_sync(,wan))
2024-09-03T13:58:54-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : webgui_configure_do(,wan))
2024-09-03T13:58:54-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : vxlan_configure_do())
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : unbound_configure_do(,wan))
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : openssh_configure_do(,wan))
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : opendns_configure_do())
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : ntpd_configure_do())
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (execute task : dnsmasq_configure_do())
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure newwanip (,wan)
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure monitor (execute task : dpinger_configure_do())
2024-09-03T13:58:53-04:00 Notice opnsense /interfaces.php: plugins_configure monitor ()
2024-09-03T13:58:52-04:00 Notice opnsense /interfaces.php: ROUTING: entering configure using defaults
2024-09-03T13:58:52-04:00 Critical dhclient exiting.
2024-09-03T13:58:52-04:00 Error dhclient connection closed
2024-09-03T13:58:51-04:00 Notice configctl event @ 1725386331.14 exec: system event config_changed response: OK
2024-09-03T13:58:51-04:00 Notice configctl event @ 1725386331.14 msg: Sep 3 13:58:51 HiveFW.localdomain config[36418]: config-event: new_config /conf/backup/config-1725386331.1353.xml
#7
I'm going to start a new thread as this problem is deeper than the error in the title.
#8
2024-09-03T11:46:40-04:00 Error opnsense /usr/local/etc/rc.newwanip: The command '/bin/kill -'TERM' '62710''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 62710: No such process'
2024-09-03T11:46:30-04:00 Critical dhclient exiting.
2024-09-03T11:46:30-04:00 Error dhclient connection closed
2024-09-03T08:48:38-04:00 Critical dhclient exiting.
2024-09-03T08:48:38-04:00 Error dhclient connection closed
2024-09-02T22:33:41-04:00 Error opnsense /usr/local/sbin/pluginctl: The command '/bin/kill -'TERM' '28895''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 28895: No such process'
2024-09-02T22:33:13-04:00 Error opnsense /usr/local/sbin/pluginctl: The command '/bin/kill -'TERM' '96761''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 96761: No such process'
2024-09-02T22:32:55-04:00 Error opnsense /usr/local/sbin/pluginctl: The command '/bin/kill -'TERM' '74285''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 74285: No such process'
2024-09-02T22:31:19-04:00 Error opnsense /usr/local/sbin/pluginctl: The command '/bin/kill -'TERM' '42323''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 42323: No such process'
#9
One person says it does and one person says it doesn't. I haven't had any other suggestions or found any other solutions to try so I'm looking into their option.
#10
Does anything need done after os-rfc2136 is installed?

WAN Connection: Auto IP
WAN Connected: ONT -> opnsense wan port
ISP: Verizon FIOS

General log shows:
2024-09-03T08:48:38-04:00   Critical   dhclient   exiting.   
2024-09-03T08:48:38-04:00   Error   dhclient   connection closed
#11
Happened again - every 3 hours my wan interface goes offline and I need to reboot opnsense.

Can you elaborate on what RFC 2136 is? Why would that shut down my wan?

I changed my wan lease time with an option modifier to increase lease time. supersede dhcp-lease-time 946080
#12
I got this working. I ticked "Automatic outbound NAT for Reflection" under advanced firewall settings. That's in addition to "Reflection for port forwards"
No other reflections or hairpin or unbound setup was needed after that.

I'll monitor for a day before marking this as solved.
#13
Thanks. I have "Reflection for port forwards" ticked in the advanced firewall settings.
NPM is running on a vm in my lab. I saw that there is an option built into opnsense - I dont like to keep all my eggs in one basket.

I tried the suggestions in the provided link but still no luck.
#14
Fresh install of OPNsense 24.7.3_1-amd64

Every x amount of hours my box has been going offline. Doing a hard reset on it brings it back up. I see these errors in the log. I noticed that during these events my WAN port is offline.

configd.py   action rfc2136.reload.lan not found for user root

Google took me here:
https://forum.opnsense.org/index.php?topic=39236.0

Thoughts?
#15
Hey Folks - I'm switching over to opnsense and it's been pretty painless.

The port forwards are setup and firewall rules. External access seems to be working fine.
My domain name and subdomain point to my public IP and NPM.

I can't seem to get internal lan access working to my domain / subdomains.

I found a bunch of posts about using unbound overrides to fix this but it doesn't seem to be working. Seems pretty straight forward but I must be missing something.