cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
608
Views
11
Helpful
4
Replies

Problem of nat

wififrance
Level 1
Level 1

sorry for my english, i'm french ...;

I wish that since my lan when I enter my publicip address with port I?m redirect towards the nat which correpond with the interface wan.

Example:

My router is configured for nat since the interface Wan port 80 towards private address IP 192.168.1.9: 80. I wish that when I type the Ippublique address: 80 since my lan that is redirected towards the nat correpondant lan with the 192.168.1.9 address: 80.

I wish that if my nat on the interface Wan with port 6589 is configured for router on the local address 192.168.1.15 : 56, that when I type my ippublic address with port 6589 since my lan that I is directly to redirect towards the address room corresponds 192.168.1.15: 56.

I have to test on several occasions different config but ever succeeded. Best will be than the rule is dynamic that wants right statement than this ?loopback? between interface is automatically realizable on all the redirections of port between the interface wan and lan interfaces it.

thank you in advance.

4 Replies 4

mheusing
Cisco Employee
Cisco Employee

Hi,

May I try to rephrase your requirement as far as I understand it - sorry if I misunderstood, I am not french ;-)

You have workstations in your LAN, which should access some servers locally using the official IP address.

One different approach than NAT: use DNS.

In your inside DNS server resolve the server name to your private IP. In case there is no internal DNS server, use the workstations host file to resolve the name.

Any solution natting your official IP to a private one for your LAN hosts would also forward all traffic through your router. This would slow down transfer and put additional CPU load to your router.

The DNS/hostname approach will allow to forward traffic directly and looks preferable to me. In case you have requirements ruling out the DNS approach, please describe them and we go from there.

Regarding the port redirection: What would prevent you from using the port (f.e. 56) directly?

Hope this helps! Please rate all posts.

Regards, Martin

yes i'am in the case there is no internal DNS server. my Dns server is the dns of my ISP i give you a little shema. ( shema. jpg)

i'am connected on the web server with the host D: i see my webpage with ip adresse public ( 82.101.16.456:80) the router is configured for natting the 82.101.16.146:80 on the 192.168.1.10:80. All it's ok i can see my web page.

now i want to see my page with the host A but with the external adresse ( 82.101.16.456:80 ). I am on the host A, i open my web browser and i want to see the web page in the server web by the adresse 82.101.16.456:80. When i enter this adresse in the browser of the host A they have ? message : ERROR 404 by internet explorer. I look for an acl or what ever for redirected automatiquely the traffic with the rules of nat.

This behavior are configurated automatiquely in the factory settings on Linksys router WAG54G.But i can't find this configuration on a Cisco 877.

Please your are my last chance . tks so much

i look for the commande for active the Nat loopback. do you know this commande ? tks a lot

Hi,

What you are most likely looking for is called "Network Address Translation on a Stick". For detailed configuration examples have a look at

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094430.shtml

Especially the second example should address your needs.

Hope this helps! Please rate all posts.

Regards, Martin

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card