Community discussions

MikroTik App
 
vitaly2016
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Wed Jan 20, 2016 9:26 am
Location: Ukraine

[SOLVED] How to add allowed IP for isolated LANs?

Thu Feb 23, 2017 12:54 pm

There are 2 local nets: 192.168.2.0/24 (special accounts) and 10.0.200.0/24 (common accounts)
Common accounts are forbidden to enter special accounts. I isolated nets for this purpose by adding RULES in ROUTE LIST:
192.168.2.0/24 is unreachable for 10.0.200.0/24
All was working good.
But now I should allow some IPs in 10.0.200.0/24 to get access for some IPs in 192.168.2.0/24.
I don't know how to do it.
Last edited by vitaly2016 on Thu Feb 23, 2017 4:41 pm, edited 1 time in total.
 
gustavomam
Trainer
Trainer
Posts: 287
Joined: Tue Jul 23, 2013 6:29 pm
Location: Spain
Contact:

Re: How to add allowed IP for isolated LANs?

Thu Feb 23, 2017 1:56 pm

You could insert a rule before what you have blocking the specific IP you want to allow
ip firewall filter add chain=forward src-address=10.0.200.15 dst-address=192.168.2.33 action=accept
.
.
.
.
ip firewall filter add chain=forward src-address=10.0.200.0/24 dst-address=192.168.2.0/24 action=drop
 
vitaly2016
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Wed Jan 20, 2016 9:26 am
Location: Ukraine

Re: How to add allowed IP for isolated LANs?

Thu Feb 23, 2017 4:43 pm

You could insert a rule before what you have blocking the specific IP you want to allow
Thank you very much for solving problem. Now all works as I wanted.

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], kosmipt, stef70 and 115 guests