Community discussions

MikroTik App
 
dialsc
just joined
Topic Author
Posts: 8
Joined: Mon Apr 18, 2016 10:32 pm

Problem with IP Firewall on Bridge

Thu Oct 27, 2016 11:26 pm

Hi all,

I'm facing a problem which drives me crazy. I've got a bridge with two interfaces in order to bridge the WAN traffic between my ISP and our DMZ in which we use public IPs. Everything works very well EXCEPT a specific part of firewalling the traffic. It is about being able to apply rules on the bridge according to input/output interfaces.

The firewall entry dialogue allows to define In. Bridge Port as well as Out. Bridge Port. My understanding is that this can be used to define the specific interface - as it is part of the bridge - for which the rule should be applied. But what ever I do, the firewall rule using this "matcher" does not get applied and is being ignored. In short, bridge in/out port seems not to work.

Did I get it wrong or could that be a problem/bug? I'm running RouterOS Level 6, version 6.37.1 on this device: CCR1036-8G-2S+

I would be very thankfull for any kind of advice/hint which helps to get this running, thanks.

Best regards.

dialsc
 
skuykend
Member Candidate
Member Candidate
Posts: 274
Joined: Tue Oct 06, 2015 7:28 am

Re: Problem with IP Firewall on Bridge

Thu Oct 27, 2016 11:40 pm

In bridge settings did you set the option to force bridge traffic through the firewall?
 
dialsc
just joined
Topic Author
Posts: 8
Joined: Mon Apr 18, 2016 10:32 pm

Re: Problem with IP Firewall on Bridge

Thu Oct 27, 2016 11:42 pm

Yes, I think so. I activated "Use IP Firewall" in the bridge settings.
 
skuykend
Member Candidate
Member Candidate
Posts: 274
Joined: Tue Oct 06, 2015 7:28 am

Re: Problem with IP Firewall on Bridge

Fri Oct 28, 2016 12:09 am

Been a while since I've done a filtered bridge. Maybe try and do a simple filter by just ip with logging and see what the log says the ports are, then go from there.
 
dialsc
just joined
Topic Author
Posts: 8
Joined: Mon Apr 18, 2016 10:32 pm

Re: Problem with IP Firewall on Bridge

Fri Oct 28, 2016 1:06 am

I tried that but the actual interface does not seem to be set. Only the bridge it self is set as out interface...
 
skuykend
Member Candidate
Member Candidate
Posts: 274
Joined: Tue Oct 06, 2015 7:28 am

Re: Problem with IP Firewall on Bridge

Fri Oct 28, 2016 1:21 am

If that particular traffic is routed at all by that router and not just passing through the bridge, it would do that.
 
dialsc
just joined
Topic Author
Posts: 8
Joined: Mon Apr 18, 2016 10:32 pm

Re: Problem with IP Firewall on Bridge

Fri Oct 28, 2016 1:39 am

In other words, if the traffic is not just flowing through this single bridge, input and output interface are not available to the firewall/filter. Did I get the right?
 
skuykend
Member Candidate
Member Candidate
Posts: 274
Joined: Tue Oct 06, 2015 7:28 am

Re: Problem with IP Firewall on Bridge

Fri Oct 28, 2016 1:54 am

The In-Bridge-Port and Out-Bridge-Port aren't set in that case. Interface will still be set, but to the incoming/outgoing bridges (or actual interfaces if they're not bridged.)
 
dialsc
just joined
Topic Author
Posts: 8
Joined: Mon Apr 18, 2016 10:32 pm

Re: Problem with IP Firewall on Bridge

Fri Oct 28, 2016 1:57 am

Okay, at least I know that I can stop working in that direction now. Honestly, I do not understand why it works that way as it would be soooo cool to have that information. Maybe that's a candidate for a feature request...

Anyway, thanks a lot for your help!

Greetings.

dialsc

Who is online

Users browsing this forum: janisc, timotei and 82 guests