We moved our Asterisk server version 1.4.31 from one network to another. When my phones are on the new LAN, they register to the server just as I would expect. When I try to connect from outside the network, the phones will not register. I am using x-lite to test my connectivity.
The firewall in the new LAN is a Cisco 5505 and these are the settings are as follows. I believe this to be a firewall issue because everything was working perfectly in the old LAN.
object-group service VoIP_SIP udp
description All ports pertaining to VoIP using SIP
port-object eq sip
port-object range 10000 20000
port-object eq 4569
access-list outside_acl remark Web access to VoIP server to provide XML services to phones outside the LAN
access-list outside_acl extended permit tcp any host (public IP Address) eq www
access-list outside_acl remark VoIP SIP Mapping for SIP-based phones
access-list outside_acl extended permit udp any host (public IP Address) eq sip
access-list outside_acl remark VoIP TFTP Server for phone configurations.
access-list outside_acl extended permit udp any host (public IP Address) eq tftp
access-list outside_acl remark VoIP media port mapping.
access-list outside_acl extended permit udp any host (public IP Address) object-group VoIP_SIP
static (outsideif,insideif) 10.1.30.20 (public IP Address) netmask 255.255.255.255
static (insideif,outsideif) (public IP Address) 10.1.30.20 netmask 255.255.255.255
route outsideif 0.0.0.0 0.0.0.0 (public IP Address) 1
inspect dns preset_dns_map
inspect h323 h225
inspect h323 ras