Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco ASA 5505 port forward/routing issues

Status
Not open for further replies.

noreastintegra

Technical User
Aug 9, 2010
5
US
Greetings all,

I'm trying to allow port 4242 through my Cisco ASA 5505 Firewall:

Here's my config:

myASA# sh run
: Saved
:
ASA Version 8.0(4)
!
hostname myASA
domain-name mydomain.com
enable password xxx encrypted
passwd xxx encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.71.1 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address dhcp setroute
!
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
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns domain-lookup inside
dns server-group DefaultDNS
domain-name macforhire.com
object-group service crashplan
description crashplan
service-object tcp eq 4242
access-list splittunnel extended permit ip 192.168.71.0 255.255.255.0 192.168.171.0 255.255.255.0
access-list nonat extended permit ip 192.168.71.0 255.255.255.0 192.168.171.0 255.255.255.0
access-list outside extended permit tcp any any eq 548
access-list outside extended permit tcp any any eq 5900
access-list outside extended permit icmp any any echo-reply
access-list outside extended permit icmp any any unreachable
access-list outside extended permit icmp any any time-exceeded
access-list outside extended permit icmp any any source-quench
access-list outside extended permit tcp any any eq 4242
access-list 102 extended permit icmp any any
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
ip local pool vpn 192.168.171.100-192.168.171.131
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-625.bin
asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface 5900 192.168.71.200 5900 netmask 255.255.255.255
static (inside,outside) tcp interface 548 192.168.71.200 548 netmask 255.255.255.255
static (inside,outside) tcp interface 4242 192.168.71.200 4242 netmask 255.255.255.255
access-group 102 in interface outside
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
dynamic-access-policy-record DfltAccessPolicy
aaa authentication ssh console LOCAL
aaa authentication http console LOCAL
aaa authentication serial console LOCAL
aaa authentication telnet console LOCAL
aaa authentication secure-http-client
http server enable
http 192.168.1.0 255.255.255.0 inside
http 192.168.71.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 myset esp-3des esp-md5-hmac
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-3DES-SHA esp-3des 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-256-SHA esp-aes-256 esp-sha-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 security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map dyn1 1 set transform-set myset
crypto dynamic-map dyn1 1 set security-association lifetime seconds 28800
crypto dynamic-map dyn1 1 set security-association lifetime kilobytes 4608000
crypto map mymap 200 ipsec-isakmp dynamic dyn1
crypto map mymap interface outside
crypto isakmp enable outside
crypto isakmp policy 1
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
crypto isakmp policy 65535
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet 192.168.71.0 255.255.255.0 inside
telnet 192.168.171.0 255.255.255.0 inside
telnet timeout 5
ssh 192.168.71.0 255.255.255.0 inside
ssh 192.168.171.0 255.255.255.0 inside
ssh timeout 5
console timeout 0
dhcpd dns 192.168.71.200 156.154.70.1
dhcpd auto_config outside
!
dhcpd address 192.168.71.100-192.168.71.131 inside
dhcpd enable inside
!

threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server 192.168.71.200 source inside
group-policy clientgroup internal
group-policy clientgroup attributes
dns-server value 192.168.71.200
vpn-idle-timeout 20
split-tunnel-policy tunnelspecified
split-tunnel-network-list value splittunnel
default-domain value macforhire.com
username admin password xxx encrypted privilege 15
tunnel-group macforhire type remote-access
tunnel-group macforhire general-attributes
address-pool vpn
default-group-policy clientgroup
tunnel-group macforhire ipsec-attributes
pre-shared-key *
!
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
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:xxx
: end



Any ideas? I'm also having similar issues with ports 5900 and 548 and would gladly appreciate a nudge in the right direction.
 
Take a look at access-list 102 since it is applied inbound on your outside interface. It should stick out like a sore thumb

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Yeah because of this line

access-list 102 extended permit icmp any any

you are implicitly denying anything else into your external interface

just add an ace allowing 4242 inbound.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top