Community discussions

MikroTik App
 
coertw
just joined
Topic Author
Posts: 2
Joined: Mon Jun 18, 2012 11:52 am

VRRP and firewall rules?

Wed Mar 20, 2013 10:51 am

Hello all,

I have 2 routerboard 1100 running with 5.23.

They both have about 6 vlans and 6 vrrp configured.
VRRP worked perfectly until I started locking down the firewall.
Now both RBs become master on the configured VRRPs

What firewall rules are required for VRRP to function?
I use VRRP version 2 with ah authentication.

Kind regards,
Coert Waagmeester
 
coertw
just joined
Topic Author
Posts: 2
Joined: Mon Jun 18, 2012 11:52 am

Re: VRRP and firewall rules?

Wed Mar 20, 2013 11:40 am

Wireshark is my friend! I found the answer.

I added the following firewall rule:
add action=accept chain=input disabled=no dst-address=224.0.0.18 protocol=ipsec-ah

First I tried the same rule but with the protocol set to vrrp.

Anyway, it is working now!
 
AlexS
Member Candidate
Member Candidate
Posts: 272
Joined: Thu Oct 10, 2013 7:21 am

Re: VRRP and firewall rules?

Sun May 04, 2014 11:11 am

Sorry to bring up an old thread but the wiki


http://wiki.mikrotik.com/wiki/Manual:Interface/VRRP

say 224.0.0.12 not 224.0.0.18
 
bbs2web
Member Candidate
Member Candidate
Posts: 232
Joined: Sun Apr 22, 2012 6:25 pm
Location: Johannesburg, South Africa
Contact:

Re: VRRP and firewall rules?

Tue Nov 01, 2016 6:26 pm

The Wiki is wrong, the multicast address is 224.0.0.18. The protocol is also 112 (VRRP) and not 51 (ipsec-ah).

Herewith a firewall rule confirmed to work on 6.37.1:
/interface vrrp add interface=vlan2000 name=vrrp-vlan2000 priority=254 vrid=23 # Master
/ip firewall filter add action=accept chain=input dst-address=224.0.0.18 in-interface=vlan2000 protocol=vrrp

PS: The multicast and protocol numbers could have changed at some point in the past but i doubt it.

Who is online

Users browsing this forum: Bing [Bot], maldridge and 86 guests