Routing basics - multiple private IP to multiple public

Hello,

I recently bought RB/493G and this is the first time I use RouterOs (upgarded to v.5.0rc8) so don’t blame me if my question is kind of primitive :slight_smile:
Here is my problem:
In our local network we have multiple computers which we have to route to multiple public IP addresses. In my old router using interface I was able to create address groups (e.g. Group1 - 192.168.2.1, 192.168.2.2…) and then to specify which group is routed to which public IP address (e.g. Group 1 ->80.80.80.80). How can I get the same result in RouterOs? I found that under IP->Addresses I can add multiple addresses for the same interface, but I have no Idea what are the next steps…

Thank you!

You have to set up nat rules.
http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT

In your case you need src-nat to specific address, for example

/ip firewall nat
add chain=srcnat src-address=192.168.1.0/24 out-interface=wan action=src-nat to-addresses=80.80.80.80

I guess it can be done only via ssh. Ok, Ill try that! Thank you.

It can also be done with winbox. parameter names are the same as in console.