Page 1 of 1

NAT only one port

Posted: Tue Nov 26, 2013 4:37 pm
by jfvelamoscoso
Hello,

I am trying to deliver public ips to some costumers. This is what i want to do and i think i need a little help.




The topology is show in the atachment. In this case i only want that the port eth5 will be nat using the public ip 1

Best regards

Re: NAT only one port

Posted: Wed Nov 27, 2013 2:27 am
by aaronhun22
You can NAT the public IP's to your customers using the answer from this post:

http://forum.mikrotik.com/viewtopic.php?f=2&t=79253

Or you can route the public IP's by sub-netting them on a /30 network.

Re: NAT only one port

Posted: Thu Nov 28, 2013 12:28 am
by jfvelamoscoso
Thanks for the quick rep

This looks like a 1:1 Nat, it could work i didn't try on my enviroment yet but it sounds as it work. I was thinking in nat only the port eth5 masquerading the packet with ip of eth1 because this is LAN network. And leave ethernet from 2-4 without natting. Because this ports eth2-eth4 will have public ip

Best Regards

Re: NAT only one port

Posted: Thu Nov 28, 2013 8:56 am
by Rudios
You can bridge the interfaces ether1-4 and assign your desired local IP to ehter5.
Give the bridge a public IP available to you.

Re: NAT only one port

Posted: Thu Nov 28, 2013 9:43 pm
by jfvelamoscoso
It didn't work beacuse in this case if i bridge from eth1-4 i'll be doing a loop betwenn external an internal interfaces.