I have a home network with a Raspberry Pi at the center running Pihole and UFW. The Pihole is both the DHCP as well as DNS server.
Ever since I started using Pi Hole I've not had any issues until recently when I turned on UFW.
My Samsung Smart TV (UA43N5300ARLXL/UA43N5300ARXXL) would neither acquire IP address using DHCP and even if I use manual IP and then try, it doesn't go through. But if I switch off UFW, it works like a charm. I checked the UFW Audit logs but nothing very obvious.
Here's the summary of the rules I've setup in UFW:
To Action From
1725/udp ALLOW Anywhere
5353 ALLOW 220.127.116.11/16
80 ALLOW 18.104.22.168/16
53 ALLOW 22.214.171.124/16
67 ALLOW 126.96.36.199/16
68 ALLOW 188.8.131.52/16
22 ALLOW 184.108.40.206/16
80/tcp ALLOW Anywhere
4711 ALLOW 220.127.116.11/16
10000 ALLOW 18.104.22.168/16
2501 ALLOW 22.214.171.124/16
53/udp on eth0 ALLOW Anywhere
80,443/tcp ALLOW Anywhere
123/udp ALLOW 126.96.36.199/16
1725/udp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
53/udp (v6) on eth0 ALLOW Anywhere (v6)
80,443/tcp (v6) ALLOW Anywhere (v6)
Would appreciate any help in understanding how Samsung Smart TVs handle network connections and the ports they use as well as any input to fine tune UFW to get this to work.