Community discussions

MikroTik App
 
REDTDI
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Fri May 28, 2004 9:41 pm

Blocking ports on a MikroTik bridge

Tue Jun 02, 2009 11:26 pm

I have a client that has 70 branches VLANed into a single MikroTik bridge. They want to block all traffic between the VLANs except for PCs that end in in .12 as these should be able to video conference between them. What MikroTik feature should I use to block all traffic between bridged VLANs yet allow .12 PCs to work?

Thanks,
Ken
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7169
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Blocking ports on a MikroTik bridge

Wed Jun 03, 2009 10:42 am

You can use bridge firewall
 
REDTDI
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Fri May 28, 2004 9:41 pm

Re: Blocking ports on a MikroTik bridge

Wed Jun 03, 2009 3:54 pm

Is there a wild card feature to just allow the last few digits of an IP address to be matched in a bridge firewall rule?

Thanks,
Ken
 
User avatar
omega-00
Forum Guru
Forum Guru
Posts: 1167
Joined: Sat Jun 06, 2009 4:54 am
Location: Australia
Contact:

Re: Blocking ports on a MikroTik bridge

Wed Jun 03, 2009 4:39 pm

REDTDI, I would be doing this in multiple rules, allow your .12 address by adding each one to an address list called 'inter-vlan'
then add the ip ranges to another address list called 'local-vlans'

Create 2 rules

Rule 1. chain=forward src-address-list=inter-vlan dst-address-list=inter-vlan action=allow
Rule 2. chain=forward src-address-list=local-vlans dst-address-list=local-vlans action=reject or drop

Something like that would explicitly allow the pc's to comunicate while blocking all other inter-vlan traffic.
 
REDTDI
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Fri May 28, 2004 9:41 pm

Re: Blocking ports on a MikroTik bridge

Wed Jun 03, 2009 4:51 pm

Is it possible to have an address list on a bridge firewall rule?

Thanks,
Ken
REDTDI, I would be doing this in multiple rules, allow your .12 address by adding each one to an address list called 'inter-vlan'
then add the ip ranges to another address list called 'local-vlans'

Create 2 rules

Rule 1. chain=forward src-address-list=inter-vlan dst-address-list=inter-vlan action=allow
Rule 2. chain=forward src-address-list=local-vlans dst-address-list=local-vlans action=reject or drop

Something like that would explicitly allow the pc's to comunicate while blocking all other inter-vlan traffic.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Blocking ports on a MikroTik bridge

Wed Jun 03, 2009 11:04 pm

use normal IP -> Firewall =)

Who is online

Users browsing this forum: GoogleOther [Bot], israelrmm, tdw and 40 guests