mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-24 08:08:08 +00:00
nhrpd: Document how to block redirected multicast packets
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
This commit is contained in:
parent
ca317495b8
commit
ab9ad933d0
@ -189,11 +189,14 @@ nhrpd can be configured to forward multicast packets, allowing routing
|
|||||||
protocols that use multicast (such as OSPF) to be supported in the DMVPN
|
protocols that use multicast (such as OSPF) to be supported in the DMVPN
|
||||||
network.
|
network.
|
||||||
|
|
||||||
This support requires an NFLOG redirection rule to work:
|
This support requires an iptables NFLOG rule to allow nhrpd to intercept
|
||||||
|
multicast packets. A second iptables rule is also usually used to drop the
|
||||||
|
original multicast packet.
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
iptables -I OUTPUT -d 224.0.0.0/24 -o gre1 -j NFLOG --nflog-group 2
|
iptables -A OUTPUT -d 224.0.0.0/24 -o gre1 -j NFLOG --nflog-group 2
|
||||||
|
iptables -A OUTPUT -d 224.0.0.0/24 -o gre1 -j DROP
|
||||||
|
|
||||||
.. index:: nhrp multicast-nflog-group (1-65535)
|
.. index:: nhrp multicast-nflog-group (1-65535)
|
||||||
.. clicmd:: nhrp multicast-nflog-group (1-65535)
|
.. clicmd:: nhrp multicast-nflog-group (1-65535)
|
||||||
|
Loading…
Reference in New Issue
Block a user