Community discussions

MikroTik App
 
markrudling
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Tue Aug 15, 2006 6:28 pm

Nat issues for noob...

Tue Jul 31, 2007 11:35 pm

Hi guys. I know this is a simple one but it keeps getting me confused.

First this is what i have setup:
5 static ip's, natted to 5 internal ip's. 2 nat rules exist for each ip, one scr and one dst. Nothing else is customised, ie all port and services are natted, wide open. Masqurade rule for all other non nated ip's. Added nated ip's to list and added list to masqurade rule. All good, but...

We have now run out of external ip's and need them for other devices. Im certain there is a more effecent way of doing this, ie, have the same external ip used for many services. Could someone please give an example of the correct way to do this?

Thank you.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Nat issues for noob...

Wed Aug 01, 2007 8:04 am

It is possible to translate only specific ports instead of addresses.
 
markrudling
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Tue Aug 15, 2006 6:28 pm

Re: Nat issues for noob...

Wed Aug 01, 2007 10:36 pm

Would it be rude to ask for an example?

Thanks
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Nat issues for noob...

Thu Aug 02, 2007 7:22 am

The same as for entire address translation, the only difference is that you need to add port that you are going to translate,
as 'dst-address=80 protocol=tcp' for dst-nat action.