I have a IPSEC VPN connections between 2 locations.
Location 1 Has a pfsense router (10.0.1.254) with a dedicated Asterisk server (10.0.1.2) behind the routers LAN port.
Location 2 is a pfSense Netgate router with Asterisk package installed on the router (10.0.9.254)
At location 2 anything behind the Netgate router LAN port (10.0.9.254) ipsec traffic travels to Location 1 (10.0.1.0/24) fine with out issues. But from inside the Netgate router (10.0.9.254) either via trying to ping in the GUI or ssh the Location 1’s network (10.0.1.0/24) 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 (10.0.9.254) 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 10.0.1.0/24 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 (10.0.1.0/24)
I have other locations that route remote extensions fine to their destination provided that the Asterisk server is BEHIND the router, its just the locations with Asterisk inside the pFsense router I cannot get to communicate correctly.
I have asked this on the pFsense forums as well
forum.pfsense.org/index.php?topic=79247.0
forum.pfsense.org/index.php?topic=82201.0