Due to recent hardware failure of my CPE, I decided to turn my FreeBSD router/firewall into a VoIP gateway/PBX to hook up VoIP phones to. My ISP uses two separate PVCs, one for internet access and another for VoIP. So far I managed to map each PVC onto a different VLAN, so I can run two ppp processes doing PPPoE over one physical ethernet link simultaneously, which leaves me with two separate tun interfaces, each with it's own public IP address.
From my understanding, this leaves me with two problems:
But I still wonder if there are other options, like running the VoIP PBX software within a jail, that are maybe a bit more elegant?
From my understanding, this leaves me with two problems:
- The VoIP PBX software needs to use a different default route for outgoing traffic.
- The peer address on both WAN interfaces is the same.
But I still wonder if there are other options, like running the VoIP PBX software within a jail, that are maybe a bit more elegant?