Hi All,
I’m new to Fedora, also new to firewalld. I like the system, although there are some struggles (I’ve posted more today.)
Currently I’m trying to make sure that cockpit (and later also other services) only work via the tailnet.
I think this shows I have set everything up correctly:
$ sudo firewall-cmd --get-active-zones
public (default)
interfaces: enp114s0
trusted
interfaces: Tailscale0
$ sudo firewall-cmd --zone=trusted --list-services
cockpit https ssh
# The public zone only has ssh
$ sudo firewall-cmd --zone=public --list-services
ssh
However, when going to https://castor:9090 I can’t connect.
Nmap for both interfaces shows:
$ nmap -p 9090 10.0.0.196 -Pn
Starting Nmap 7.98 ( https://nmap.org ) at 2025-12-16 19:37 +0100
Nmap scan report for 10.0.0.196
Host is up (0.0048s latency).
PORT STATE SERVICE
9090/tcp filtered zeus-admin
Nmap done: 1 IP address (1 host up) scanned in 0.53 seconds
$ nmap -p 9090 castor -Pn
Starting Nmap 7.98 ( https://nmap.org ) at 2025-12-16 19:37 +0100
Nmap scan report for castor (100.68.55.15)
Host is up (0.0035s latency).
rDNS record for 100.68.55.15: castor.tail1c6b1.ts.net
PORT STATE SERVICE
9090/tcp filtered zeus-admin
Nmap done: 1 IP address (1 host up) scanned in 1.04 seconds
Castor is the magic DNS name in the Tailnet. It worked before I started blocking services. I did re-enable mDNS, doesn’t help.
Any tips?