Hi Anton, Alas, that doesn't work with IPv6. I tried. But thanks for your swift reaction. Paul Op do 29 mrt. 2018 14:33 schreef Anton Danilov <mailto:littlesmilingcloud@xxxxxxxxx>: Hi. You can write aliases for networks into /etc/networks and use the network names in your ruleset. On 29 March 2018 at 11:46, <mailto:paul.guijt@xxxxxxxxx> wrote: > Hi All, > > The man iptables and ip6tables specifies: > "-s, --source [!] address[/mask] > Source specification. Address can be either a network name, a hostname > (please note that specifying any name to be resolved with a remote query > such as DNS is a really bad idea), a network IP address (with /mask), or a > plain IP address. .". > > What is meant by 'network name'? I would like to use some name for the local > network that can be used by both iptables and ip6tables. > > Kind regards, > Paul > > -- > To unsubscribe from this list: send the line "unsubscribe netfilter" in > the body of a message to mailto:majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Anton. -- Vriendelijke groet, Paul Guijt -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html