Score:0

UFW blocks pihole traffic after upgrade from 20.04 to 22.04

tr flag

I'm a bit lost here. After upgrading from 20.04 to 22.04 via do-release-upgrade, my pihole stopped working. All queries towards the server over LAN time out, both pihole.log and FTL.log show no activity. Reinstalling ufw had no effect.

Accessing things locally on the server, via curl, works. Disabling UFW works. UFW, when enabled, seems to be correctly processing rules, as I can still ssh into the server.

UFW version

~/pihole$ sudo ufw version
ufw 0.36.1
Copyright 2008-2021 Canonical Ltd.

UFW rules

~/pihole$ sudo ufw show added
Added user rules (see 'ufw status' for running firewall):
ufw allow 22/tcp
ufw allow plexmediaserver-all
ufw allow Samba
ufw allow unifi-limited
ufw allow 8123/tcp comment 'HASSIO'
ufw allow 1883 comment 'MQTT'
ufw allow 8096/tcp comment 'JellyFin'
ufw allow 8384 comment 'Syncthing'
ufw allow syncthing
ufw allow 80/tcp comment 'pihole'
ufw allow 53/tcp comment 'pihole'
ufw allow 53/udp comment 'pihole'

Docker compose

cat ~/pihole/docker-compose.yml
version: "3"

networks:
  pihole:
    driver: bridge
services:
  pihole:
    container_name: pihole
    image: pihole/pihole:latest
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "80:80/tcp"
    networks:
      - pihole
    environment:
      TZ: 'Europe/London'
      WEBPASSWORD: '<redacted>'
      PIHOLE_DNS_: '1.1.1.1;1.0.0.1'
    volumes:
      - './etc-pihole:/etc/pihole'
      - './etc-dnsmasq.d:/etc/dnsmasq.d'
      - './log/:/var/log/pihole'
    restart: unless-stopped
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.