Community discussions

MikroTik App
 
pieterdl
just joined
Topic Author
Posts: 3
Joined: Fri Nov 10, 2017 4:00 pm

Routing between 2 networks

Fri Nov 10, 2017 4:28 pm

Hi Guys i currently have a mikrotik set up with a 192.168.0.0/23 range and a 192.168.20.0/24 range i would like only for a specified ip in the 192.168.20.0 range to have access to the 192.168.0.0 range how do i set this up ? at this stage both networks have full access to one another?
 
mali2003
just joined
Posts: 23
Joined: Sat Oct 21, 2017 1:15 am

Re: Routing between 2 networks

Fri Nov 10, 2017 5:22 pm

IP->Firewall (Forward allow only for these ip's in that desired network)
 
stoser
Member Candidate
Member Candidate
Posts: 118
Joined: Sun Aug 21, 2016 12:04 am

Re: Routing between 2 networks

Fri Nov 10, 2017 5:58 pm

Expanding on what mali2003 said, I would recommend TWO filter rules. The first will accept traffic explicitly from the one address in the 192.168.20.0/24 subnet to the entire 192.168.0.0/23 subnet, in the forward chain. The second rule would drop all traffic from the 192.168.20.0/24 to the 192.168.0.0/23 subnet in the forward chain.

Please also note that if either the source address or the destination address is assigned to the Mikrotik router itself, you would not use the forward chain, but rather the input chain if the destination is in Mtik address, or the output chain if the source is the Mtik address.

Who is online

Users browsing this forum: Google [Bot], Me3do and 47 guests