I recently installed Obarun on a new machine, and have had issues with enabling a firewall. Whenever i try to set a ruleset for the firewall, it seems to break dhcpcd. So far I have tried ufw and nftables, and both result in the following log from dhcpcd.
2021-12-17 10:31:24.536122762  enp37s0: failed to request DHCPv6 information
2021-12-17 10:31:35.975209036  enp37s0: fe80::8e59:73ff:fe66:a2c0: no longer a default router
2021-12-17 10:31:35.975490246  enp37s0: deleting default route via fe80::8e59:73ff:fe66:a2c0
2021-12-17 10:31:37.318279323  enp37s0: adding default route via fe80::8e59:73ff:fe66:a2c0
2021-12-17 10:33:23.144814610  enp37s0: fe80::8e59:73ff:fe66:a2c0: no longer a default router
The ruleset i use works on a different Obarun install and worked on my previous Void install. In fact, even the example config for nftables breaks dhcpcd.

Edit:
By break I mean that I can no longer connect to the internet. It seems I can still ping IPs, but not any dns.
  • [deleted]

Lack of nameserver in your /etc/resolv.conf ?
Checked earlier without a firewall enabled and at that point, /etc/resolv.conf had a nameserver:
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
However, when a firewall is enabled, this is missing, and /etc/resolv.conf is empty except for irrelevant comments generated by dhcpcd
This solved the issue, marking as solved. Thanks :).

Powered by Obarun