08-20-2014 11:00 AM - edited 03-16-2019 11:49 PM
Hello all,
we bought and started to use 3CX Server and SIP Server working in local networks, not problem.
so we are having a problem from the outside 3CX client (iphone, android softphone).
I have read this web site:
http://www.3cx.com/blog/docs/ports-used/
I install create rules Cisco ASA, Why does not connect WAN users SIP server?
Help me plase, Regards.
Access-List:
object-group service 3CX
service-object tcp destination eq 5000
service-object tcp destination eq 5001
service-object tcp destination eq 5060
service-object udp destination eq 5060
service-object tcp destination eq 5061
service-object tcp destination eq 5090
service-object udp destination eq 5090
service-object udp destination range 9000 9049
service-object tcp destination eq 4156
access-list outside-in extended permit object-group 3CX any object sipserver
access-group outside-in in interface outside
NAT:
object network sipserver
host 10.0.4.2
object service 3CX_Management
service tcp destination eq 5000
object service 3CX_Management_HTTPS
service tcp destination eq 5001
object service 3CX_SIP_TCP
service tcp destination eq 5060
object service 3CX_SIP_UDP
service udp destination eq 5060
object service 3CX_Secure_SIP
service tcp destination eq 5061
object service 3CX_Tunnel_Protocol_TCP
service tcp destination eq 5090
object service 3CX_Tunnel_Protocol_UDP
service udp destination eq 5090
object service 3CX_Media_Server
service udp destination range 9000 9049
object service 3CX_Data_Communication
service tcp destination eq 4156
nat (inside,outside) source static sipserver interface service 3CX_Management 3CX_Management
nat (inside,outside) source static sipserver interface service 3CX_Management_HTTPS 3CX_Management_HTTPS
nat (inside,outside) source static sipserver interface service 3CX_SIP_TCP 3CX_SIP_TCP
nat (inside,outside) source static sipserver interface service 3CX_SIP_UDP 3CX_SIP_UDP
nat (inside,outside) source static sipserver interface service 3CX_Secure_SIP 3CX_Secure_SIP
nat (inside,outside) source static sipserver interface service 3CX_Tunnel_Protocol_TCP 3CX_Tunnel_Protocol_TCP
nat (inside,outside) source static sipserver interface service 3CX_Tunnel_Protocol_UDP 3CX_Tunnel_Protocol_UDP
nat (inside,outside) source static sipserver interface service 3CX_Media_Server 3CX_Media_Server
nat (inside,outside) source static sipserver interface service 3CX_Data_Communication 3CX_Data_Communication
08-20-2014 06:13 PM
Use the packet tracer on the ASA, to see if your access list is being hit by your 3cx client.
also, check the log on your sip server to see if it is receiving register requests from your clients.
also, it might be wise to post an error message of some sort in this post. Good luck
08-20-2014 11:23 PM
Hello minkdennis;
I use packet-tracer and I have tested. This below result:
asa# packet-tracer input outside tcp 8.8.8.8 5060 10.0.4.2 5060
Phase: 1
Type: ROUTE-LOOKUP
Subtype: input
Result: ALLOW
Config:
Additional Information:
in 10.0.4.0 255.255.255.0 inside
Phase: 2
Type: ACCESS-LIST
Subtype: log
Result: ALLOW
Config:
access-group outside-in in interface outside
access-list outside-in extended permit object-group 3CX any object sipserver
object-group service 3CX
service-object tcp destination eq 5000
service-object tcp destination eq 5001
service-object tcp destination eq sip
service-object udp destination eq sip
service-object tcp destination eq 5061
service-object tcp destination eq 5090
service-object udp destination eq 5090
service-object udp destination range 9000 9049
service-object tcp destination eq 4156
Additional Information:
Phase: 3
Type: NAT
Subtype: per-session
Result: ALLOW
Config:
Additional Information:
Phase: 4
Type: IP-OPTIONS
Subtype:
Result: ALLOW
Config:
Additional Information:
Phase: 5
Type: NAT
Subtype: rpf-check
Result: DROP
Config:
nat (inside,outside) source static sipserver interface service 3CX_SIP_TCP 3CX_SIP_TCP
Additional Information:
Result:
input-interface: outside
input-status: up
input-line-status: up
output-interface: inside
output-status: up
output-line-status: up
Action: drop
Drop-reason: (acl-drop) Flow is denied by configured rule
08-21-2014 06:35 PM
ACL is letting it through and your static nat is being hit (phase 5)
OK, so are you seeing a register attempt, on your SIP proxy?
08-21-2014 11:11 PM
Hello,
The problem is solved. Thank you.
Regards
Ozgur
08-22-2014 06:38 AM
Hello dear minkdennis,
Mr. Murat KAYAPINAR helping me and He is tested GNS3 and sent me config. The following configuration has worked successfully:
- ASA 9.1 later:
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