07-24-2006 05:20 AM - edited 03-05-2019 12:00 PM
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?
07-24-2006 05:43 AM
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
07-24-2006 06:47 AM
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.
07-24-2006 06:56 AM
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
07-24-2006 07:03 AM
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?
07-24-2006 08:47 PM
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
07-26-2006 02:01 AM
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide