cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5385
Views
0
Helpful
7
Replies

how to publish my web server through the router

dear all 

i want to configure my cisco router to publish my web-server(contain my website). the router configured for internet connection purpose using the code written below . the following is basic information about the infrastructure 

    1.router cisco 1941 with g0/0 and g0/1 interfaces 

  1. isp address(IP 10.135.48.15 submask 255.255.255.0 getaway 10.135.48.1)
  2. lan address(192.168.10.1 subnetmask 255.255.255.0)
  3. web server IP 192.168.10.10(public address ) 

       5.domain name www.mms.com

 

the following code is configuration of internet connection through the router 

  

interface Embedded-Service-Engine0/0

 no ip address

 shutdown

!

interface GigabitEthernet0/0

 ip address 10.135.48.15 255.255.255.0

 ip nat outside

 ip virtual-reassembly in

 duplex auto

 speed auto

!

interface GigabitEthernet0/1

 ip address 192.168.10.1 255.255.255.0

 ip nat inside

 ip virtual-reassembly in

 duplex auto

 speed auto

!

ip forward-protocol nd

!

ip http server

ip http authentication local

ip http secure-server

!

ip nat inside source list 1 interface GigabitEthernet0/0 overload

ip route 0.0.0.0 0.0.0.0 10.135.48.1

!

access-list 1 permit 192.168.10.0 0.0.0.255

!

!

!

control-plane

!

!

!

line con 0

line aux 0

line 2

no activation-character

 no exec

 transport preferred none

 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

 stopbits 1

line vty 0 4

 password great

 login

 transport input all

!

scheduler allocate 20000 1000

!

end

 

so could u write the code to publish my web server through the router 

 

with regards,

7 Replies 7

Rich Uline
Level 1
Level 1

yibeltalf,

 

Something like this should work for you. Change the inside and/or outside port numbers tp meet your specific implementation.

Router#(config)ip nat inside source static tcp 192.168.10.10 80 10.135.48.15 80

thank you some much
i try based on your information but doesn't work .
Router#(config)ip nat inside source static tcp 192.168.10.10 80
10.135.48.15 80
could you help me

this is the show running config
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.135.48.15 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
!
ip http server
ip http authentication local
ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip nat inside source static tcp 192.168.10.10 80 10.135.48.15 80 extendable
ip nat inside source static tcp 192.168.10.10 443 10.135.48.15 443
extendable
ip route 0.0.0.0 0.0.0.0 10.135.64.197
!
access-list 1 permit 192.168.10.0 0.0.0.255



*it doesn't work publishing my web-server through my router using the
above configuration .could you help me*

Yibeltalf,

Could you do two things for me? First, with the updated configuration, could you post the output of:

Router# show ip nat translations

Second, could you elaborate on what you mean by "publishing my web-server"? I presumed you meant that you wanted the host to be IP-accessible from outside your LAN, but I now suspect you may be wanting to configure some name resolution service....

*Router#show running-config*
Building configuration...

Current configuration : 3014 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable secret 4 j0CwztZPWsKaxq7v8EFesH92Yb7JBM5em.Y6RPLH1TY
enable password great
!
no aaa new-model
!
ip cef
!
!
!
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
crypto pki trustpoint TP-self-signed-2283537773
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2283537773
revocation-check none
rsakeypair TP-self-signed-2283537773
!
!
crypto pki certificate chain TP-self-signed-2283537773

certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32323833 35333737 3733301E 170D3137 31313237 31303236
31355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 32383335
33373737 3330819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100A26E 2F1B78F6 43B15B54 98D4C836 91E6D520 4420A0FF AC5A4A5F 25CE935D
33CB7CCF EBF01906 376C2A03 AC1568FF 8FB84680 C706880B 8ED97A41 F463E452
25025AFE 3F237909 725DB76F 4064614C 434311F1 0EEA24DC 708CFEFF 6BAD9208
423BCC6A 94A7A598 9AE480BC 47B23E19 A62C80E8 D3B2069B 33496634 6F4DD443
87AD0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 1474F9C4 2479C855 B86F6018 53A4846F A4093F19 4B301D06
03551D0E 04160414 74F9C424 79C855B8 6F601853 A4846FA4 093F194B 300D0609
2A864886 F70D0101 05050003 8181009C C480EB8C 80A60677 9A29A7E9 6C30FC6F
908E662F 52AAAD83 343DAB54 32D3A2F1 D7D3B80E 406C8DD7 6672C620 824C3D9B
7558A5E8 4A98F38E 1987EE06 9049DD98 90652740 D7AFA8CE F2E490FB 77930E06
909142FC 6CA8D423 F91704F0 9F883A32 C7D93E71 D6CB38B9 3368A8BA 478BA3A5
B04F02C3 1EE7D2D2 796B277D 97986B
quit
license udi pid CISCO1941/K9 sn FCZ1747719C
!
!
username great privilege 15 secret 4
VrNRdgnkNc6skR7wBKYi2PHCuQ1ZnJQHczPYMhGCZn.
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.135.48.15 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip nat inside source static tcp 192.168.10.10 80 10.135.48.15 80 extendable
ip route 0.0.0.0 0.0.0.0 10.135.48.1
!
access-list 1 permit 192.168.10.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password great
login
transport input all
!
scheduler allocate 20000 1000
!
end





*Router# show ip nat translations*

Pro Inside global Inside local Outside local Outside global
tcp 10.135.48.15:49157 192.168.10.9:49157 104.82.244.146:443
104.82.244.146:443
tcp 10.135.48.15:1426 192.168.10.9:49158 185.189.92.235:80
185.189.92.235:80
tcp 10.135.48.15:1437 192.168.10.9:49167 46.33.76.27:80 46.33.76.27:80
tcp 10.135.48.15:49232 192.168.10.9:49232 173.194.219.188:5228
173.194.219.188: 5228
tcp 10.135.48.15:49235 192.168.10.9:49235 216.58.217.234:443
216.58.217.234:443
tcp 10.135.48.15:49236 192.168.10.9:49236 172.217.0.67:443 172.217.0.67:443
tcp 10.135.48.15:1668 192.168.10.9:49240 172.217.10.35:443
172.217.10.35:443
tcp 10.135.48.15:1669 192.168.10.9:49241 172.217.10.35:443
172.217.10.35:443
tcp 10.135.48.15:1680 192.168.10.9:49248 172.217.12.141:443
172.217.12.141:443
tcp 10.135.48.15:1054 192.168.10.9:49258 172.217.0.72:443 172.217.0.72:443
tcp 10.135.48.15:1177 192.168.10.9:49263 23.44.102.237:443
23.44.102.237:443
tcp 10.135.48.15:1118 192.168.10.9:49277 172.217.10.206:80
172.217.10.206:80
tcp 10.135.48.15:1682 192.168.10.9:49279 74.125.196.118:80
74.125.196.118:80
tcp 10.135.48.15:1254 192.168.10.9:49280 77.234.43.54:443 77.234.43.54:443
tcp 10.135.48.15:1434 192.168.10.9:49283 5.45.59.252:80 5.45.59.252:80
tcp 10.135.48.15:1565 192.168.10.9:49284 5.45.58.172:80 5.45.58.172:80
tcp 10.135.48.15:1577 192.168.10.9:49285 172.217.6.200:443
172.217.6.200:443
udp 10.135.48.15:49286 192.168.10.9:49286 4.2.2.5:53 4.2.2.5:53
tcp 10.135.48.15:1071 192.168.10.9:49289 5.45.59.252:80 5.45.59.252:80
tcp 10.135.48.15:1058 192.168.10.9:49290 5.45.58.174:80 5.45.58.174:80
tcp 10.135.48.15:1095 192.168.10.9:49291 161.69.29.157:443
161.69.29.157:443
tcp 10.135.48.15:1119 192.168.10.9:49292 23.55.58.114:80 23.55.58.114:80
tcp 10.135.48.15:1185 192.168.10.9:49293 23.55.58.88:80 23.55.58.88:80
tcp 10.135.48.15:49294 192.168.10.9:49294 23.55.58.89:80 23.55.58.89:80
tcp 10.135.48.15:49295 192.168.10.9:49295 23.55.58.112:80 23.55.58.112:80
tcp 10.135.48.15:1072 192.168.10.9:49296 23.55.58.65:80 23.55.58.65:80
tcp 10.135.48.15:1178 192.168.10.9:49297 23.55.58.73:80 23.55.58.73:80
tcp 10.135.48.15:49298 192.168.10.9:49298 23.55.58.80:80 23.55.58.80:80
tcp 10.135.48.15:1168 192.168.10.9:49299 74.125.196.95:443
74.125.196.95:443
tcp 10.135.48.15:1117 192.168.10.9:49300 23.55.58.105:80 23.55.58.105:80
tcp 10.135.48.15:1144 192.168.10.9:49301 23.55.58.112:80 23.55.58.112:80
tcp 10.135.48.15:1161 192.168.10.9:49302 23.55.58.80:80 23.55.58.80:80
tcp 10.135.48.15:1215 192.168.10.9:49304 23.55.58.81:80 23.55.58.81:80
tcp 10.135.48.15:1339 192.168.10.9:49305 23.55.58.105:80 23.55.58.105:80
tcp 10.135.48.15:49306 192.168.10.9:49306 23.55.58.107:80 23.55.58.107:80
tcp 10.135.48.15:1371 192.168.10.9:49307 23.55.58.72:80 23.55.58.72:80
tcp 10.135.48.15:49308 192.168.10.9:49308 23.55.58.66:80 23.55.58.66:80
tcp 10.135.48.15:1382 192.168.10.9:49312 8.21.161.6:443 8.21.161.6:443
tcp 10.135.48.15:1383 192.168.10.9:49313 23.55.58.75:80 23.55.58.75:80
tcp 10.135.48.15:1384 192.168.10.9:49314 23.55.58.112:80 23.55.58.112:80
udp 10.135.48.15:49352 192.168.10.9:49352 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:49437 192.168.10.9:49437 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:49480 192.168.10.9:49480 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:49640 192.168.10.9:49640 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:1193 192.168.10.9:49992 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:50027 192.168.10.9:50027 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:50251 192.168.10.9:50251 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:50399 192.168.10.9:50399 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:50400 192.168.10.9:50400 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:50675 192.168.10.9:50675 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:50704 192.168.10.9:50704 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:50803 192.168.10.9:50803 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:1200 192.168.10.9:51131 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:51243 192.168.10.9:51243 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:52072 192.168.10.9:52072 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:52074 192.168.10.9:52074 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:52180 192.168.10.9:52180 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:52335 192.168.10.9:52335 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:52587 192.168.10.9:52587 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:52661 192.168.10.9:52661 85.199.214.98:123
85.199.214.98:123
udp 10.135.48.15:52897 192.168.10.9:52897 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:53433 192.168.10.9:53433 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:1184 192.168.10.9:53474 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:54211 192.168.10.9:54211 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:54334 192.168.10.9:54334 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:54854 192.168.10.9:54854 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:54951 192.168.10.9:54951 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:55367 192.168.10.9:55367 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:55851 192.168.10.9:55851 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:56103 192.168.10.9:56103 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:56193 192.168.10.9:56193 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:56360 192.168.10.9:56360 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:56430 192.168.10.9:56430 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:56714 192.168.10.9:56714 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:56731 192.168.10.9:56731 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:57022 192.168.10.9:57022 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:57679 192.168.10.9:57679 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:57894 192.168.10.9:57894 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:58060 192.168.10.9:58060 172.217.12.141:443
172.217.12.141:443
udp 10.135.48.15:58260 192.168.10.9:58260 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:58449 192.168.10.9:58449 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:58500 192.168.10.9:58500 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:58573 192.168.10.9:58573 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:58937 192.168.10.9:58937 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:59031 192.168.10.9:59031 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:59123 192.168.10.9:59123 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:59291 192.168.10.9:59291 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:59388 192.168.10.9:59388 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:59696 192.168.10.9:59696 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:60127 192.168.10.9:60127 4.2.2.5:53 4.2.2.5:53
udp 10.135.48.15:60358 192.168.10.9:60358 4.2.2.5:53 4.2.2.5:53



*2. i have a web application hosted on my web server (ip 192.168.10.10).i
want my web application being accessible from outside of my LAN(accessible
by everybody globally )*

Router#show running-config
Building configuration...

Current configuration : 3014 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable secret 4 j0CwztZPWsKaxq7v8EFesH92Yb7JBM5em.Y6RPLH1TY
enable password great
!
no aaa new-model
!
ip cef
!
!
!
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
crypto pki trustpoint TP-self-signed-2283537773
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2283537773
revocation-check none
rsakeypair TP-self-signed-2283537773
!
!
crypto pki certificate chain TP-self-signed-2283537773

certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32323833 35333737 3733301E 170D3137 31313237 31303236
31355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 32383335
33373737 3330819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100A26E 2F1B78F6 43B15B54 98D4C836 91E6D520 4420A0FF AC5A4A5F 25CE935D
33CB7CCF EBF01906 376C2A03 AC1568FF 8FB84680 C706880B 8ED97A41 F463E452
25025AFE 3F237909 725DB76F 4064614C 434311F1 0EEA24DC 708CFEFF 6BAD9208
423BCC6A 94A7A598 9AE480BC 47B23E19 A62C80E8 D3B2069B 33496634 6F4DD443
87AD0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 1474F9C4 2479C855 B86F6018 53A4846F A4093F19 4B301D06
03551D0E 04160414 74F9C424 79C855B8 6F601853 A4846FA4 093F194B 300D0609
2A864886 F70D0101 05050003 8181009C C480EB8C 80A60677 9A29A7E9 6C30FC6F
908E662F 52AAAD83 343DAB54 32D3A2F1 D7D3B80E 406C8DD7 6672C620 824C3D9B
7558A5E8 4A98F38E 1987EE06 9049DD98 90652740 D7AFA8CE F2E490FB 77930E06
909142FC 6CA8D423 F91704F0 9F883A32 C7D93E71 D6CB38B9 3368A8BA 478BA3A5
B04F02C3 1EE7D2D2 796B277D 97986B
quit
license udi pid CISCO1941/K9 sn FCZ1747719C
!
!
username great privilege 15 secret 4
VrNRdgnkNc6skR7wBKYi2PHCuQ1ZnJQHczPYMhGCZn.
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.135.48.15 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip nat inside source static tcp 192.168.10.10 80 10.135.48.15 80 extendable
ip route 0.0.0.0 0.0.0.0 10.135.48.1
!
access-list 1 permit 192.168.10.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password great
login
transport input all
!
scheduler allocate 20000 1000
!
end





Router# show ip nat translation | in 192.168.10.10

tcp 10.135.48.1:80 192.168.10.10:80 --- ---
tcp 10.135.48.1:49501 192.168.10.10:49501 77.234.45.53:80 77.234.45.53:80
udp 10.135.48.1:51397 192.168.10.10:51397 216.58.193.174:443
216.58.193.174:443
udp 10.135.48.1:51398 192.168.10.10:51398 216.58.193.174:443
216.58.193.174:443
tcp 10.135.48.1:52313 192.168.10.10:52313 173.194.79.188:443
173.194.79.188:443
tcp 10.135.48.1:52657 192.168.10.10:52657 169.54.83.43:5938
169.54.83.43:5938
udp 10.135.48.1:53808 192.168.10.10:53808 4.2.2.5:53 4.2.2.5:53
tcp 10.135.48.1:54201 192.168.10.10:54201 162.125.18.133:443
162.125.18.133:443
tcp 10.135.48.1:2451 192.168.10.10:54226 198.252.206.25:443
198.252.206.25:443
udp 10.135.48.1:54305 192.168.10.10:54305 4.2.2.5:53 4.2.2.5:53
tcp 10.135.48.1:54365 192.168.10.10:54365 54.175.64.133:443
54.175.64.133:443
tcp 10.135.48.1:54546 192.168.10.10:54546 46.33.76.32:80 46.33.76.32:80
udp 10.135.48.1:55567 192.168.10.10:55567 172.217.10.46:443
172.217.10.46:443
udp 10.135.48.1:55569 192.168.10.10:55569 172.217.10.46:443
172.217.10.46:443
tcp 10.135.48.1:2507 192.168.10.10:56386 212.4.153.166:80 212.4.153.166:80
tcp 10.135.48.1:56442 192.168.10.10:56442 162.125.64.3:443 162.125.64.3:443
tcp 10.135.48.1:56445 192.168.10.10:56445 162.125.18.133:443
162.125.18.133:443
tcp 10.135.48.1:56520 192.168.10.10:56520 162.125.34.137:443
162.125.34.137:443
tcp 10.135.48.1:56568 192.168.10.10:56568 172.217.4.5:443 172.217.4.5:443
tcp 10.135.48.1:56569 192.168.10.10:56569 172.217.4.5:443 172.217.4.5:443
tcp 10.135.48.1:1248 192.168.10.10:57250 77.234.43.25:80 77.234.43.25:80
tcp 10.135.48.1:1651 192.168.10.10:60358 5.45.58.150:80 5.45.58.150:80


2. *i have a web application hosted on my web server (ip 192.168.10.10).i
want my web application being accessible from outside my LAN(accessible
everybody globally )*

dear all 

i want to configure my cisco router to publish my web-server(contain my website). the router configured for internet connection purpose using the code written below . the following is basic information about the infrastructure 

 

 1.router cisco 1941 with g0/0 and g0/1 interfaces 

  1. isp address(IP 10.135.48.15 submask 255.255.255.0 getaway 10.135.48.1)
  2. lan address(192.168.10.1 subnetmask 255.255.255.0)
  3. web server IP 192.168.10.10

     5.domain name www.mms.com

 

the problem that the system not working was the public ip not the write one. it means IP 192.168.10.10 could not be public IP ... so i fond the public Ip and configure problem then it woks .the public ip is 10.130.64.45

the corrected configuration is 

nterface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.135.48.15 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip nat inside source static tcp 192.168.10.10 80 10.130.64.45 80 extendable
ip route 0.0.0.0 0.0.0.0 10.135.48.1
!
access-list 1 permit 192.168.10.0 0.0.0.255

 

 

it is working  so the problem is solved.thank you