10-04-2013 12:43 AM - edited 03-11-2019 07:47 PM
Hi,
I got the NAT problem setup in Ver 9.1(1).
object network outside-net
host 10.50.10.10
object network inside-net
host 192.168.1.10
nat (inside,outside) dynamic interface
object network www
host 192.168.1.10
nat (inside,outside) static outside-net service tcp 80 80
access-list acl-in permit ip any any
access-list acl-out permit ip any any
access-group acl-in in interface outside
access-group acl-out out interface inside
I can access internet from inside lan .
But the web server cant be accessed from internet.
The problem exist in ver 9.1 (1), but not in Ver 8.4.
Pls kindly help.
Thanks
Paul
10-08-2013 08:23 AM
Hello,
U are not using the NAT command I provided......
If you use a ip address that is not on the same subnet than the ASA you need the command that Naveen provided it.
If you use the NAT statement that I provided there is no need for that command.
Again, Try the exact same configuration that I use Nat from inside to outside, and post the entire configuration.
For more information about Core and Security Networking follow my website at http://laguiadelnetworking.com
Any question contact me at jcarvaja@laguiadelnetworking.com
Cheers,
Julio Carvajal Segura
10-08-2013 10:26 PM
Hi,
the config has been attached. pls comment.
:
ASA Version 9.1(1)
!
hostname ciscoasa
enable password 2KFQnbNIdI.2KYOU encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface GigabitEthernet0/0
nameif outside
security-level 0
ip address 10.50.10.215 255.255.255.224
!
interface GigabitEthernet0/1
nameif inside
security-level 100
ip address 172.25.20.1 255.255.255.0
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/5
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
management-only
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
!
ftp mode passive
object network internal-server
host 172.25.20.20
object network outside-server
host 10.50.10.216
access-list out-in extended permit tcp any host 172.25.20.20 eq www
access-list out-in extended permit icmp any host 172.25.20.20
pager lines 24
logging asdm informational
mtu management 1500
mtu outside 1500
mtu inside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
arp permit-nonconnected
nat (inside,outside) source static internal-server outside-server
!
nat (inside,outside) after-auto source dynamic any interface
access-group out-in in interface outside
route outside 0.0.0.0 0.0.0.0 10.50.10.193 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
http server enable
http 192.168.1.0 255.255.255.0 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpoint _SmartCallHome_ServerCA
crl configure
crypto ca trustpool policy
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous
Cryptochecksum:2986fa151b9a81facc9113e56e262fc0
Thanks
mw
10-08-2013 10:54 AM
ok just keep in your mind if you are trying to access your websites public ip using your internet access its not going to work. because public ip for your website is not assigned to the device and its from same pool as your outside interface. did you tried accesing your site from completlty different network ?
10-08-2013 10:31 PM
Hi Arsen,
Now I only setup as simple as it is.
adsl <-- cisco asa <-- 2 pc.
I can ping and browse the web between the 2 pc.
the outside subnet is 10.50.10.192/27.
thx
mw.
10-10-2013 05:16 AM
Dear all,
the firewall finally has been done though its just now one-one mapping.
The problem may be caused by the uplink........
need to clarify with the provider on tmr.
sorry !!
mw.
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: