please help.. i am newbie here..
hehehe
how to make rules like:
Client A. 192.168.1.2 can not ping to client B. 192.168.2.2 but
client B. 192.168.2.2 can ping to client A. 192.168.1.2
please help.. guys..
![]()
please help.. i am newbie here..
hehehe
how to make rules like:
Client A. 192.168.1.2 can not ping to client B. 192.168.2.2 but
client B. 192.168.2.2 can ping to client A. 192.168.1.2
please help.. guys..
![]()
how are these clients connected to the router? are they wireless users, or lan users connected through a switch?
lan users connected throungh a switch
i have 2 lan card in my router, A. 192.168.1.1 and B. 192.168.2.1
in that case, their connections are not going through the router at all, you canât control them.
if the connections are going through on the router.., how i can control them..?
but they are not ![]()
if they would be connected directly to the router, instead of a switch, you would make simple filter rules like:
Client A. 192.168.1.2 can not ping to client B. 192.168.2.2 but
client B. 192.168.2.2 can ping to client A. 192.168.1.2
/ip firewall filter add chain=forward src-address=192.168.2.2/32 dst-address=192.168.1.2/32 action=accept
/ip firewall filter add chain=forward src-address=192.168.1.2/32 dst-address=192.168.2.2/32 action=drop
Hi,
If your topology is as following then you may try the configuration as below.
Switch1(192.168.1.0/24)------------(RouterOS)------------Switch2(192.168.2.0/24)
/ip firewall filter
add action=drop chain=forward comment=âping blockâ disabled=yes icmp-options=8:0-255
protocol=icmp src-address=192.168.1.0/24
thanks,
Sudipta
Sorry for typoâŚin the above config put disabled=no
Thanks,
Sudipta
thanks all.. my problem solve..!
is it working?!? I would add âconnection-state=newâ, because if you simply accept one direction and drop opposite direction - ping wonât work in both directions, no?..
yups it is working, i am use the sudiptakp solution..
thankssâŚ
by the way guys, how i can block connection between Client A. 192.168.1.2 and client B. 192.168.2.2, but client B. can connect to client A.
need your help guys..
by the way guys, how i can block connection between Client A. 192.168.1.2 and client B. 192.168.2.2, but client B. can connect to client A.
i mean, client A. 192.168.1.2 can not see shared folder in client B. 192.168.2.2 but
client B. 192.168.2.2 can see shared folder in client A 192.168.1.2
if i used this code :
/ip firewall filter add chain=forward src-address=192.168.2.2/32 dst-address=192.168.1.2/32 action=accept
/ip firewall filter add chain=forward src-address=192.168.1.2/32 dst-address=192.168.2.2/32 action=drop
client A and B totally can not connect
b2k:
by the way guys, how i can block connection between Client A. 192.168.1.2 and client B. 192.168.2.2, but client B. can connect to client A.
thanks bro.. i am release must used âconnection-state=newâ
thanks broâŚ
by the way, can mikrotik block mac address ?
/ip firewall filter add src-mac-address=