I would like to ask for some assistance in a fairly complex (IMO ) network setup I have with my mikrotik RB433UAH.
I have attached a pdf drawing of what the network looks like.
Right now, most of this already works, but I am not sure how to do access control to the internet or route depending on source.
I would like to find out how to set up routing rules so that the following prerequisites are met:
Anyone on Michael’s Home network should be able to access the WUG, the Internet and Johnny’s RB (I can do the NAT Translations)
Anyone on Johnny’s Home Network should be able to access the WUG, the Internet and Michael’s RB (I can do the NAT Translations)
Anyone on the WUG network should be able to access Michael’s RB and Johnny’s RB (I can do the NAT Translations)
No one on the WUG network should be allowed to use Michael’s Internet unless manually specified by source IP.
I need a method to allow individual source IPs on the WUG to access Michael’s internet.
Anyone on the internet should be able to reach or ping Michael’s RB (I can do the NAT Translations)
Can anyone help me on how to properly configure these routing rules on Mikrotik Winbox and do routing based on the source address?
That said, don’t solve that with routes, solve it with firewall filter rules. Any network attached to the router can by default route to any other network attached to the router. Make firewall filter rules that drop traffic between networks based on source and destination IP addresses. Only NAT when you absolutely have to (when you’re going out to the Internet, usually).
Thank you!
I’m currently mobile therefore the short reply, but could you give me some examples of what the firewall rules would look like while still allowing traffic to masquerade through the rb433?
I will post a proper reply once I am at a computer again
thanks for the prompt responses.
Any network attached to the router can by default route to any other network attached to the router.
That explains a lot to me, I will follow your advice and use firewall rules instead.
I would start by making Michaels and Johnnys networks different. EG:
Michael = 192.168.1.0/24
Johnny = 192.168.0.0/24
Then I would only nat on the RB433UAH.
I really don’t want to do that for various reasons. The NAT setup as it is works quite well, and we would like both of them to be the exact same when viewed from the WUG.
The WUG and the internet are untrusted networks, so want to NAT with both of them.
Also i cant see Chris’s network on you diagram.
Sorry my mistake, original post edited. Should be Johnny.
These are the ip firewall rules Michael has at the moment: