Skip to main content

Problem ASA5505; Cannot acces internal services...

More
16 years 6 days ago #28175 by r0nni3
nice one s0lo i didnt know that was possible ^^ thanks for the input ill deffinatly remember that ^^



Ron.

Currently working as Cisco Engineer at Neon-Networking.

Certifications:
CCNA - Have it
CCNA Security - Have it
CCSP - Almost!!!!
CCIE Security - Not so far away dream
More
16 years 5 days ago #28178 by S0lo
No prob r0nni3 :). Hope it helps Quen.

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
More
16 years 5 days ago #28183 by Quen
Replied by Quen on topic Cisco ASA
Thanks for the responses Guys! i tried it. But it still doesn't work.

It shows an error in my Cisco ASA log;

"Portmap creation failed for tcp src inside 192.168.135.14/4978 dst inside 195.x.x.x/443"

where 195.x.x.x is my outside interface and 192.168.135.14 is one of our hosts where i trie to open our mail.xx.xxx address.
More
16 years 5 days ago #28186 by S0lo
Strange!!. I have done a very similar scenario here and it worked!!.

What are the commands you used? Could you post the exact syntax and any other changes made to the config (if any).

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
More
16 years 4 days ago #28204 by Quen
Here is my config. With the commands entered. I appriciate your help!



: Saved
:
ASA Version 8.0(3)
!
hostname ciscoasa
domain-name domain
enable password pglHB8qK7Hb.bnRD encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.135.254 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address dhcp
!
interface Vlan5
shutdown
nameif dmz
security-level 50
ip address 10.0.0.1 255.0.0.0
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
switchport access vlan 5
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
dns domain-lookup inside
dns server-group DefaultDNS
name-server 195.x.x.x
name-server 195.x.x.x
domain-name domain
same-security-traffic permit intra-interface
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
access-list outside_access_out extended permit tcp any any eq www
access-list outside_access_out extended permit tcp any any eq https
access-list outside_access_out extended permit object-group TCPUDP any any eq domain
access-list outside_access_out extended permit tcp any any eq 3389
access-list outside_access_out extended permit tcp any any eq smtp
access-list outside_access_out extended permit tcp any any eq 8890
access-list outside_access_out extended permit tcp any any eq ftp-data
access-list outside_access_out extended permit tcp any any eq ftp
access-list outside_access_out extended permit tcp any any eq pptp
access-list outside_access_in extended permit tcp any interface outside eq https
access-list outside_access_in extended permit tcp any interface outside eq 3389
access-list outside_access_in extended permit tcp any interface outside eq smtp
access-list inside_nat0_outbound extended permit ip any 192.168.135.96 255.255.255.240
access-list Local_LAN_Access standard permit 192.168.135.0 255.255.255.0
access-list http-list2 extended permit tcp any host 81.x.x.x
access-list http-list2 extended permit tcp any host 81.x.x.x
access-list http-list2 extended permit tcp any host 195.x.x.x
!
tcp-map mss-map
exceed-mss allow
!
pager lines 24
logging enable
logging asdm informational
logging from-address administrator@domain.nl
logging recipient-address systeembeheer@domain.nl level errors
mtu inside 1500
mtu outside 1500
mtu dmz 1500
ip local pool WBadressen 192.168.135.100-192.168.135.105 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
nat-control
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) tcp interface 3389 192.168.135.14 3389 netmask 255.255.255.255
static (inside,outside) tcp interface https 192.168.135.13 https netmask 255.255.255.255
static (inside,outside) tcp interface smtp 192.168.135.13 smtp netmask 255.255.255.255
static (inside,inside) tcp 195.x.x.x https 192.168.135.13 https netmask 255.255.255.255 dns
access-group outside_access_in in interface outside
access-group outside_access_out out interface outside
route outside 0.0.0.0 0.0.0.0 195.241.8.254 255
route inside 192.168.136.0 255.255.255.0 192.168.135.231 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 uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.135.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_SHA esp-3des esp-sha-hmac
crypto ipsec transform-set TRANS_ESP_3DES_SHA mode transport
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5 TRANS_ESP_3DES_SHA
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto map inside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map inside_map interface inside
crypto isakmp enable inside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 30
authentication pre-share
encryption aes-256
hash sha
group 5
lifetime 86400
no crypto isakmp nat-traversal
telnet 192.168.135.14 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
!

threat-detection basic-threat
threat-detection statistics
webvpn
enable outside
group-policy DefaultRAGroup internal
group-policy DefaultRAGroup attributes
dns-server value 192.168.135.12 192.168.135.16
vpn-tunnel-protocol IPSec l2tp-ipsec
default-domain value domain.local
group-policy DfltGrpPolicy attributes
vpn-tunnel-protocol l2tp-ipsec webvpn
group-policy domain internal
group-policy domain attributes
dns-server value 192.168.135.12 192.168.135.16
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value Local_LAN_Access
default-domain value domain.local
username Pietje password xxxxxxxxxxxxxxx encrypted
tunnel-group DefaultRAGroup general-attributes
address-pool WBadressen
tunnel-group DefaultRAGroup ipsec-attributes
pre-shared-key *
tunnel-group domain type remote-access
tunnel-group domain general-attributes
address-pool WBadressen
default-group-policy domain
tunnel-group domain ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
class-map http-map1
match access-list http-list2
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ftp
inspect pptp
policy-map http-map1
class http-map1
set connection advanced-options mss-map
!
service-policy global_policy global
service-policy http-map1 interface outside
smtp-server 192.168.135.13
prompt hostname context
Cryptochecksum:c89adce20480de9e0eb7fe69c8dace7f
: end
asdm image disk0:/asdm-603.bin
no asdm history enable
More
16 years 4 days ago #28211 by S0lo
Ok try removing this:
[code:1]static (inside,inside) tcp 195.x.x.x https 192.168.135.13 https netmask 255.255.255.255 dns[/code:1]
And Adding this:
[code:1]static (inside,inside) 195.x.x.x 192.168.135.13 netmask 255.255.255.255[/code:1]

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
Time to create page: 0.154 seconds