/srv/irclogs.ubuntu.com/2024/02/04/#ubuntu-server.txt

=== dannf_ is now known as dannf
=== chris14_ is now known as chris14
=== JanC_ is now known as JanC
Mistercam!list18:18
ubottuMistercam: No warez here! This is not a file sharing channel (or network); read the channel topic. If you're looking for information about me, type «/msg ubottu !bot». If you're looking for a channel, see «/msg ubottu !alis».18:18
wingarmacHi 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:49
wingarmacan example would be example.com also wg endpoint on specific port and ns.example.com also 5323:51
wingarmacboth sharing the same WAN IP23:52
JanCconnections aren't to a hostname but to an IP address23:53
wingarmacwell, it would be fine to add an extra lyare with hostname philters I think.23:53
wingarmacThanks for the confirmation anyway !23:53
wingarmacCheers23:53
patdk-laphmm, it is a very bad idea to use names in firewalls23:59
patdk-lapdns could fail, return a different value (round robin/failover/anycast/ipv4 vs ipv6/....)23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!