Community discussions

MikroTik App
 
z3ro647
newbie
Topic Author
Posts: 27
Joined: Fri Jun 20, 2014 12:00 pm

File Sharing

Wed Aug 06, 2014 8:57 pm

Hi,
I have been using RB951G-2HnD for home use. I have created a bridge and added all the ports from 2 to 5 and WLAN to the bridge. when i connect 2 computer using RB951G-2HnD i can see other computer in network. So my problem is how to add a firewall so that my computer can not see other computers connected to the RB951G-2HnD or other computers can not see my computer. And in such a way that even if they are all in same bridge through Cable or WiFi.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: File Sharing

Thu Aug 07, 2014 8:37 am

Building network that should not connect members together? Enable firewall on the bridge and add drop rule for packets going from internal range to internal range.
 
z3ro647
newbie
Topic Author
Posts: 27
Joined: Fri Jun 20, 2014 12:00 pm

Re: File Sharing

Thu Aug 07, 2014 3:12 pm

jarda,
please....... can you explain how to do that....... i mean i could not see from where to start......... :(
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: File Sharing

Thu Aug 07, 2014 3:50 pm

 
z3ro647
newbie
Topic Author
Posts: 27
Joined: Fri Jun 20, 2014 12:00 pm

Re: File Sharing

Tue Aug 26, 2014 4:37 am

i have created hotspot using my routertboard and users too but i don't want to make one computer to find another computer inside same hotspot which is created using the same routerboard. does any one has any firewall rule to block that.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: File Sharing

Tue Aug 26, 2014 7:38 am

Why hotspot now? Have you dropped the communication by bridge firewall?
 
z3ro647
newbie
Topic Author
Posts: 27
Joined: Fri Jun 20, 2014 12:00 pm

Re: File Sharing

Tue Aug 26, 2014 7:44 am

nop don't have any idea from where ko start..........
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: File Sharing

Tue Aug 26, 2014 11:59 am

Ok.
First switch on firewall on bridge:

ros code

/interface bridge settings
set use-ip-firewall=yes
Then add drop rule:

ros code

/interface bridge filter
add action=drop chain=forward dst-address=192.168.1.0/24 mac-protocol=ip src-address=192.168.1.0/24
of course use the addresses that should not communicate with each other..
 
z3ro647
newbie
Topic Author
Posts: 27
Joined: Fri Jun 20, 2014 12:00 pm

Re: File Sharing

Tue Sep 02, 2014 3:31 am

sorry but it didn't work ...........