I need help to configure my ASA for a specific host.
I have an IPBX and SDSL connection.
I want to send all my traffic of my IPBX server to the interface of my SDSL connection.
MyIPBX -> outside-IPBX (SDSL).
My ASA Version is 9.6.
You will find in attachement my running config.
You would do "route Outside-IPBX XXX,XXX,XXX,XXX 255.255.255.XXX YYY.YYY.YYY.YYY 1" where XXXs are either the host address or a subnet range for the outside PBX servers and YYYs are the next hop/gateway provided by the SDSL provider.
So for example, if my servers were at 18.104.22.168 and 22.214.171.124 and the SDSL service gave me an IP of 126.96.36.199 with a gateway of 188.8.131.52 my route would be
"route Outside-IPBX 184.108.40.206 255.255.255.224 220.127.116.11 1". Then you internal PBX will get routed from the ASA out through the SDSL interface only, keeping all other traffic to go out the "outside" interface
Thanks for your help !
But I forgot an information.
My Provider give me an IP who is : 18.104.22.168/32. It's a PPPoE connection, I don't have a gateway or next HOP (no informations, I asked to my provider...)
My route will be is : route outside-ipbx 192.168.10.xxx 255.255.255.255 22.214.171.124 1
where 192.168.10.xxx 255.255.255.255 it's my IPBX.
And as I don't have a gateway for my next hop I have this message :
[ERROR] route inside 192.168.10.70 255.255.255.255 126.96.36.199 1
Invalid next hop address 188.8.131.52, it matches our IP address.
You have to consider PBR for this scenario.