I just got a business sip-trunk from vodafone.
They are using a registrar-less connection.
So I have one dedicated external ip that is assigned to the voip-trunk.
On my opnsens-firewall I configured a 1:1 NAT for that particular IP and directed it to a dedicated interface on freepbx.
So freepbx has
a) eth0: -> opnsense -> internet public IP for voip-trunk
b) eth1: -> local voip-net
On eth1 I have all my local voip phones.
On eth0 I ONLY want to have my external trunk (no remote phones)
If I setup the trunk now, how can I specify which interface it should use?
Do I have to setup some iptables manually?
What about the freepbx-firewall. Do I need it at all, as I only allow port 5060 and 10000… ?