Page 1 of 1

Nat issues for noob...

Posted: Tue Jul 31, 2007 11:35 pm
by markrudling
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.

Re: Nat issues for noob...

Posted: Wed Aug 01, 2007 8:04 am
by sergejs
It is possible to translate only specific ports instead of addresses.

Re: Nat issues for noob...

Posted: Wed Aug 01, 2007 10:36 pm
by markrudling
Would it be rude to ask for an example?

Thanks

Re: Nat issues for noob...

Posted: Thu Aug 02, 2007 7:22 am
by sergejs
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.