I have on Mikrotik WAN connection with mask /30 (connection to modem) and I have two other routed public IP x.x.x.80 - x.x.x.83 on the same link.
My goal is how could I share my Public IP (this routed) to a customer router behind my mikrotik, their Mikrotik should be visible on internet on this public IP? This connection should be blocked from access to my Mikrotik.
SFP1 - is my WAN with /30 connection
ETH6 - is my link to customer mikrotik router.
So should I do this:
1.assign x.x.x.81/30 to ETH6 and give x.x.x.82/30 to customer mikrotik.
2.customer should add default gateway to x.x.x.81
3.create nat rule to exclude this routed network x.x.x.80/30 from translation:
Code: Select all
add action=masquerade chain=srcnat src-address=!x.x.x.80/30 out-interface=sfp1
Code: Select all
add action=drop chain=forward comment="block customer, but not on WAN" in-interface=ether6 out-interface=!sfp1
Is this correct? Then Customer mikrotik will be presented on networ by IP x.x.x.82 ?
thanks