Community discussions

MikroTik App
 
User avatar
GlueGuy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue May 16, 2006 10:57 pm
Location: San Francisco Bay Area California (CA)
Contact:

port isolation details/example?

Wed Apr 23, 2008 5:34 am

I have a client that wishes to not allow "the boys" to have access to the "adult" portion of their network, but does want to allow "the boys" to access the internet.

It seems that I can simply allow only one-way traffic between the internet port (ether1) and the two local ports (ether2 and ether3) thusly:
/ip firewall filter
add chain=forward in-bridge-port=ether2 out-interface=ether1 action=accept
add chain=forward in-bridge-port=ether3 out-interface=ether1 action=accept
add chain=forward in-interface=ether1 action=accept
add chain=forward action=drop
However, I could find no information about the "in-bridge-port" option, or whether it requires an actual bridge to exist. Further, if I need a bridge defined, do I actually need two bridges (one between ether1 and ether2, and a second bridge between ether 1 and ether3)?

I've scoured the forum, as well as looked through the documentation, but I have found no details on these options.

Pointers anyone?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: port isolation details/example?

Wed Apr 23, 2008 8:56 am

I do not believe it is possible to add one interface to multiple bridges. At least when I try to add the same interface to bridge it displays an error, that interface is already a bridge port.

In case you do not have bridge, you can just use in-interface and out-interface, when you need to block access between interfaces.
As well it is possible to use just src-address and dst-address matchers to drop traffic within one network or between different networks.

Who is online

Users browsing this forum: almdandi, marquetry, sindy, tritor, victorbayas and 50 guests