Hi Everyone,
I have two web servers sitting behind a Cisco ASA 5505, which I don't have much experience with.
I'm trying to create two static NATs. One static NAT that goes to xx.xx.xx.150 and another that goes to xx.xx.xx.151. I've created the static NAT for the .150 web server and it works FINE. Incoming and outgoing traffic work great. This is the staging web server. I now need to duplicate the setup for the production web server.
So, I connect the webserver to the firewall, change the public IP address on one of the NICs reboot the server and I have outbound internet access. Then I run the command:
static (inside,outside) xx.xx.xx.150 192.168.1.x which is successful.
I then run the command:
access-list acl-outside permit tcp any host xx.xx.xx.150 eq 80
Which is successful.
I then try to browse the internet and I get nothing. I try to telnet in through port 80 and I get nothing (though I'm guessing because the response to the telnet request is being blocked).
I've tried this with the production web server and then I tried it with another web server that is for internal testing and have the exact same problem. Both work fine until I run the static NAT rule and then no outbound internet access.
I have a feeling that it's something simple that I'm missing, but my limited experience with this device is killing me.
Below I've pasted the current configuration. I'm currently trying to get this to work on the .153 server which is the internal testing server. Once I can verify that works, I'll try it with production.
: Saved
:
ASA Version 8.2(4)
!
hostname QG
domain-name XX.com
enable password
passwd
names
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address XX.XX.XX.148 255.255.255.0
!
interface Vlan3
shutdown
no forward interface Vlan1
nameif dmz
security-level 50
ip address dhcp
!
boot system disk0:/asa824.bin
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns server-group DefaultDNS
domain-name fw.XXgroup.com
same-security-traffic permit inter-interface
access-list acl-outside extended permit tcp any host XX.XX.XX.150 eq www
access-list acl-outside extended permit tcp any host XX.XX.XX.150 eq https
access-list acl-outside extended permit tcp any host XX.XX.XX.151 eq www
access-list acl-outside extended permit tcp any host XX.XX.XX.151 eq https
access-list acl-outside extended permit tcp any host XX.XX.XX.153 eq www
access-list inside_access_in extended permit ip 192.168.1.0 255.255.255.0 any
access-list inside_nat0_outbound extended permit ip any 192.168.1.32 255.255.255.240
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
ip local pool VPNIPs 192.168.1.35-192.168.1.44 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-635.bin
no asdm history enable
arp
timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) XX.XX.XX150 192.168.1.100 netmask 255.255.255.255
static (inside,outside) XX.XX.XX153 192.168.1.102 netmask 255.255.255.255
access-group acl-outside in interface outside
route outside 0.0.0.0 0.0.0.0 XX.XX.XX129 1
timeout xlate 3:00:00
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
dynamic-access-policy-record DfltAccessPolicy
aaa authorization
command LOCAL
http server enable
http 192.168.1.0 255.255.255.0 inside
http 0.0.0.0 0.0.0.0 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map outside_dyn_map 20 set pfs group1
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication crack
encryption 3des
hash sha
group 2
lifetime 86400
no crypto isakmp nat-traversal
client-update enable
telnet
timeout 5
ssh
timeout 5
console
timeout 0
dhcpd auto_config outside
!
dhcpd address 192.168.1.2-192.168.1.33 inside
dhcpd dns 208.77.88.4 interface inside
dhcpd enable inside
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
enable outside
svc image disk0:/sslclient-win-1.1.0.154.pkg 1
svc image disk0:/anyconnect-win-2.5.2019-k9.pkg 2
svc enable
group-policy ATSAdmin internal
group-policy ATSAdmin attributes
dns-server value 208.77.88.4 208.85.174.9
vpn-tunnel-protocol IPSec svc webvpn
webvpn
url-list none
svc keep-installer installed
svc rekey method ssl
svc ask enable
username qgadmin password /oHfeGQ/R.bd3KPR encrypted privilege 15
username benl password 0HNIGQNI0uruJvhW encrypted privilege 0
username benl attributes
vpn-group-policy ATSAdmin
username kuzma password rH7MM7laoynyvf9U encrypted privilege 0
username kuzma attributes
vpn-group-policy ATSAdmin
username nate password BXHOURyT37e4O5mt encrypted privilege 0
username nate attributes
vpn-group-policy ATSAdmin
tunnel-group ATSAdmin type remote-access
tunnel-group ATSAdmin general-attributes
address-pool VPNIPs
default-group-policy ATSAdmin
tunnel-group SSLVPN type remote-access
tunnel-group SSLVPN general-attributes
address-pool VPNIPs
default-group-policy ATSAdmin
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
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
!
service-policy global_policy global
privilege cmd level 3 mode exec
command perfmon
privilege cmd level 3 mode exec
command ping
privilege cmd level 3 mode exec
command who
privilege cmd level 3 mode exec
command logging
privilege cmd level 3 mode exec
command failover
privilege show level 5 mode exec
command running-config
privilege show level 3 mode exec
command reload
privilege show level 3 mode exec
command mode
privilege show level 3 mode exec
command firewall
privilege show level 3 mode exec
command interface
privilege show level 3 mode exec
command clock
privilege show level 3 mode exec
command dns-hosts
privilege show level 3 mode exec
command access-list
privilege show level 3 mode exec
command logging
privilege show level 3 mode exec
command ip
privilege show level 3 mode exec
command failover
privilege show level 3 mode exec
command asdm
privilege show level 3 mode exec
command arp
privilege show level 3 mode exec
command route
privilege show level 3 mode exec
command ospf
privilege show level 3 mode exec
command aaa-server
privilege show level 3 mode exec
command aaa
privilege show level 3 mode exec
command crypto
privilege show level 3 mode exec
command vpn-sessiondb
privilege show level 3 mode exec
command ssh
privilege show level 3 mode exec
command dhcpd
privilege show level 3 mode exec
command vpn
privilege show level 3 mode exec
command blocks
privilege show level 3 mode exec
command uauth
privilege show level 3 mode configure
command interface
privilege show level 3 mode configure
command clock
privilege show level 3 mode configure
command access-list
privilege show level 3 mode configure
command logging
privilege show level 3 mode configure
command ip
privilege show level 3 mode configure
command failover
privilege show level 5 mode configure
command asdm
privilege show level 3 mode configure
command arp
privilege show level 3 mode configure
command route
privilege show level 3 mode configure
command aaa-server
privilege show level 3 mode configure
command aaa
privilege show level 3 mode configure
command crypto
privilege show level 3 mode configure
command ssh
privilege show level 3 mode configure
command dhcpd
privilege show level 5 mode configure
command privilege
privilege clear level 3 mode exec
command dns-hosts
privilege clear level 3 mode exec
command logging
privilege clear level 3 mode exec
command arp
privilege clear level 3 mode exec
command aaa-server
privilege clear level 3 mode exec
command crypto
privilege cmd level 3 mode configure
command failover
privilege clear level 3 mode configure
command logging
privilege clear level 3 mode configure
command arp
privilege clear level 3 mode configure
command crypto
privilege clear level 3 mode configure
command aaa-server
prompt hostname context
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email
[email protected]
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
Cryptochecksum:0ed0580e151af288d865f4f3603d792a
: end
asdm image disk0:/asdm-635.bin
no asdm history enable