Hi, this is the scenario:
- A Linux ClearOs that provides dhcp on 192.168.4.0/24 and static network on lan 192.168.10.0/24
- The router Mikrotik has the ip 192.168.10.2 (ether3) and interface wan (ether1) to access the internet (and VPN, etc. another story)
- Devices on lan 10.0/24 can ping Mikrotik of course.
- Devices on lan 4.0/24 can ping all other devices on lan 10.0/24, except the ip of Mikrotik.
I understend that Mikrotik denies all packages that do not come from lan 10..
The answer is: How do I allow access from lan 4 to the router Mikrotik? (and then allow go to the internet)
These are the firewall rules:
/ip firewall nat
add action=masquerade chain=srcnat comment=“nat salida a internet” out-interface=ether1
add action=masquerade chain=srcnat out-interface=ether3
add action=masquerade chain=srcnat dst-address=192.168.21.0/24 out-interface=ether1 src-address=192.168.10.0/24 (VPN stuff)
Thanks in advance.