Re: Meaning of network name in Iptables rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,  <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 majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Anton.
--
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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux