Asterisk addon package not routing traffic down ipsec tunnel…?

  • I have a IPSEC VPN connections between 2 locations.

    Location 1 Has a pfsense router ( with a dedicated Asterisk server ( behind the routers LAN port.

    Location 2 is a pfSense Netgate router with Asterisk installed on the router (

    At location 2 anything behind the Netgate router LAN port ( ipsec traffic travels to Location 1 ( fine with out issues. But from inside the Netgate router ( either via trying to ping in the GUI or ssh the Location 1's network (  no packetes travel down the VPN.

    So my issues is that I have short codes (ie *80) to dial the two locations but since Asterisk is not using the VPN tunnel on the Location 2 Netgate router ( they time out.

    I need to find out how to get Asterisk from Location 2 to communicate down the VPN. Right now it simply does not even see the network at location 1 from inside the router.

    Testing from Location 1's router and Asterisk Server I can ping Location 2's router. I cannot ping from inside Location 2's router or Asterisk CLI to Location 1's network (

    Ping output:

    PING ( from 56 data bytes
    64 bytes from icmp_seq=0 ttl=64 time=22.600 ms
    64 bytes from icmp_seq=1 ttl=64 time=30.619 ms
    64 bytes from icmp_seq=2 ttl=64 time=21.115 ms
    --- ping statistics ---
    3 packets transmitted, 3 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 21.115/24.778/30.619/4.174 ms
    PING ( 56 data bytes
    --- ping statistics ---
    3 packets transmitted, 0 packets received, 100.0% packet loss
    Pinging from with 32 bytes of data:
    Reply from bytes=32 time=26ms TTL=126
    Reply from bytes=32 time=24ms TTL=126
    Reply from bytes=32 time=25ms TTL=126
    Reply from bytes=32 time=23ms TTL=126
    Ping statistics for
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 23ms, Maximum = 26ms, Average = 24ms

Log in to reply