[18:18] <Mistercam> !list
[23:49] <wingarmac> Hi everyone. Is there a way to set ufw or another firewall rules based on host names? I've multiple virtual hosts on the same WAN IP with different services depending the name.
[23:51] <wingarmac> an example would be example.com also wg endpoint on specific port and ns.example.com also 53
[23:52] <wingarmac> both sharing the same WAN IP
[23:53] <JanC> connections aren't to a hostname but to an IP address
[23:53] <wingarmac> well, it would be fine to add an extra lyare with hostname philters I think.
[23:53] <wingarmac> Thanks for the confirmation anyway !
[23:53] <wingarmac> Cheers
[23:59] <patdk-lap> hmm, it is a very bad idea to use names in firewalls
[23:59] <patdk-lap> dns could fail, return a different value (round robin/failover/anycast/ipv4 vs ipv6/....)