Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

General Question about NAT and Proxy

I was wondering if you have a private network that is behind a NAT router, or being assigned an address via DHCP, or is behind a proxy, can other computers from the public network (Internet) initiate communication with any private network computers?

6 REPLIES

Re: General Question about NAT and Proxy

Hi

This is an example of forwarding a web server from inside.

(1)Have u already enabled NAT?If not then the commands are:

int s0

ip nat outside

int e0

ip add x.x.x.y 255.255.255.0

ip nat inside

access-list 1 permit x.x.x.0 0.0.0.255

ip nat inside source list 1 interface s0 overload

(2)The port forwarding is done as following.

ip nat inside source static tcp x.x.x.z 80 x.x.x.a 80 extendable

Pls rate helpful posts.

Regards

JD

New Member

Re: General Question about NAT and Proxy

Thanks for replying, but thats not really what I'm asking. I am curious if it's possible for a public host to initiate communication with a private host, if the private host is either:

1) behing a NAT router

2) behind a proxy server

3) using DHCP in a private LAN.

Re: General Question about NAT and Proxy

Hi

(1)That is waht I have assumed.Say you have a web server 192.168.1.1 in your network 192.168.1.0.You are using NAT/PAT to access internet and your single point exit IP is 10.0.0.1.

Now If a person from outside need to access your web-server then through my config, he will give 10.0.0.1 in his web-browser.But since I have forwarded port 80 on to my 192.168.1.1,The request for port 80 will be forwarded to 192.168.1.1.Thsi is port-forwarding.

(2)Behind a proxy-server is also possible through above.

(3)If you use DHCP, then itsnot possible until and unless you have binded that IP with that MAC, b'coz you need to define an IP in the port-forwarding.

Am I making myself clear?

Regards

JD

New Member

Re: General Question about NAT and Proxy

Oh, I see now :) Yes, it does make sense that port forwarding could be used in this situation. What does the "extendable" command do?

How about if you wanted to ping the webserver from the public network? I've read that ICMP is a "pure" layer three protocol with no higher level support (ie. no port number). Is there any way to ping the inside?

Re: General Question about NAT and Proxy

Hi

The extendable keyword allows the user to configure several ambiguous static translations, where an ambiguous translations are translations with the same local or global address.

Regards

Jd

New Member

Re: General Question about NAT and Proxy

ok but if :

-we don t have a public server in our LAN

-we use NAT

-all TCP/UDP router servers (telnet, web, SNMP,..) are down in the router,

can we say that our LAN is secured from the internet and we don t need a firewall?

225
Views
0
Helpful
6
Replies
CreatePlease login to create content