Block intervlan routing MX64

EdgeFarming
Here to help

Block intervlan routing MX64

Hello,

 

I have following LAN networks.

LAN1 Vlan15   192.168.128.0/24

LAN2 Vlan10 10.10.10.0/24

 

I want to block LAN1 to access LAN1. I created rules under outbound rules but they are not working. Please check Attached screenshots.

 

Please let me know what I am missing.

Port Settings.pngoutbound.pngping .png

10 Replies 10
ww
Kind of a big deal
Kind of a big deal

Fw rules do not work on active sessions. You need to wait like 10 minutes for the firewall to clear active session.

 

Or reboot the mx to clear all sessions

jimmyt234
A model citizen

As well as this you need to test using actual end user devices, and not ping the MX itself as it will often ignore firewall rules. (Unclear if .3 is a host of the MX itself)

EdgeFarming
Here to help

Yes, 10.10.10.4 is my PC and 192.168.128.3 is an Access Point. I will wait for 10 min to take effect. Thanks

EdgeFarming
Here to help

Hi, ok ok I will wait 10 min or reboot the router, I'll let you know.

 

is that time apply for every rule? I mean if I block 10.10.10.4 to access nike.com  Do I need to wait 10 min to take effect? Because I also tried that and didn't work. 

 

Thanks

ww
Kind of a big deal
Kind of a big deal

Im not sure about the session timeout, could be 5-10 minutes. Also would depend on if the protocol closes the session itself or not.

 

If you didnt go to that website before, it should work/be blocked.

 

EdgeFarming
Here to help

Hi, 

 

For vlan to vlan it worked, but not for a web domain.

 

I have used this rule:

 

EdgeFarming_0-1740659675000.png

but ping to www.nike.com always runs:

EdgeFarming_1-1740659717052.png

 I have also changed to "Any" instead of ICMP, but it still runs:

 

EdgeFarming_2-1740661336997.png

 

Thanks

 

 

GreenMan
Meraki Employee
Meraki Employee

If I recall correctly,  ICMP needs to age out.   Rules for more common actual application flows tend to take effect immediately. 

KunalKonduru
Meraki Employee
Meraki Employee

Hi @EdgeFarming 

 

If traffic is still being allowed from VLAN 10 to VLAN 15, it is possible these are flows existed prior to creating this rule. I would suggest rebooting your MX appliance to end these current flows and check again. Please navigate to Security & SD-WAN > Appliance status > Tools > Firewall logging tool, to check if a flow from VLAN 10 to VLAN 15 is allowed or blocked if you would like to test this live.

 

I've attached a KB below on utilizing the "Firewall logging" tool from the tools page for reference:
https://documentation.meraki.com/MX/Firewall_and_Traffic_Shaping/Firewall_Logging#Quick_Start_Guide

If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.
EdgeFarming
Here to help

Hi, 

 

For vlan to vlan it worked, but not for a web domain.

 

I have used this rule:

 

EdgeFarming_0-1740996191890.png

 

but ping to www.nike.com always runs:

EdgeFarming_1-1740996191896.png

 

 I have also changed to "Any" instead of ICMP, but it still runs:

 

EdgeFarming_2-1740996191898.png

 

 

Thanks

GreenMan
Meraki Employee
Meraki Employee

Does the MX definitely see (route) the relevant DNS queries and responses?

Appropriate visibility is needed to turn the domain name into the correct IP-layer rule

Is there any chance the lookup involves CNAME responses?

https://documentation.meraki.com/MX/Firewall_and_Traffic_Shaping/MX_Firewall_Settings#FQDN_Support

I'd look to see if you can packet capture the full query & response

Maybe think about a case with Meraki Support to assist with this - specifically and more generally

Get notified when there are additional replies to this discussion.