09-01-2016 02:01 AM - edited 03-12-2019 01:13 AM
Hi!
I am trying to do what I thought would be a simple task.
I need to open some specific ports for our new phones which use SIP.
I am unable to open any port att all. When I use "Open ports check-tool" or any other online service, it just shows "closed".
What am I missing?
Could someone step me through this please?
I am pretty unexperienced in using ASA5510. I only needed to get Remote Desktop to work before, and it does.
I'm using ASDM 7.1. Here is my running config:
ASA Version 9.0(3)
!
hostname ciscoasa
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0/0
nameif outside
security-level 0
ip address XX.XX.XXX.193 255.255.255.248
!
interface Ethernet0/1
nameif inside
security-level 0
ip address 172.16.25.1 255.255.252.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
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
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network obj_any
subnet 0.0.0.0 0.0.0.0
object network SERVER
host 172.16.24.249
object service rdp
service tcp destination eq 3389
access-list outside_access_in extended permit tcp any object SERVER eq 3389
aager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu management 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (outside,inside) source static any any destination static interface SERVER service rdp rdp unidirectional no-proxy-arp
!
object network obj_any
nat (inside,outside) dynamic interface
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 XX.XX.XXX.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 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 scanning-threat shun duration 3600
threat-detection statistics host number-of-rate 2
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
!
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 h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect netbios
inspect tftp
inspect ip-options
inspect ftp
class class-default
user-statistics accounting
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
hpm topN enable
Cryptochecksum:99b4255b115ea4fde7d39316819468c3
: end
Please help, I´m really stuck here... :-)
09-07-2016 04:34 AM
Anyone who knows ASA5510?
09-09-2016 12:24 PM
Can you explain what it is you are trying to accomplish? What type of phones? Which ports need to be opened? What external resource (server or servers) are you trying to reach? Will the phones be in a separate vlan internally?
09-11-2016 11:59 PM
The phones we have is called Yealink W52P and use SIP.
They are plugged in to our inside network using DHCP to get an internal IP (no separate VLAN).
There is a lot of ports to be opened and servers to be reachable (some of them in the attached image).
What I really would like to accomplish first is to just open, lets say port 5060, and make it to show up as "open" when I do a port-scan from outside.
09-12-2016 09:47 AM
There are two potential issues with your configuration, first I would turn on sip inspection in policy-map global_policy
class inspection_default
inspect sip
then do a packet-tracer to see if the packet exits the firewall on port 5060. If it does, but your phones still don't work then you will need to work with your outbound in acl that restricts access to a single server on 3389.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide