issue with multiple subnets
[email protected] Fri, 15 Mar 2019 17:57:46 +0100
| Newsgroups | gmane.network.siproxd |
|---|---|
| Message-ID | <trinity-b1d738cd-dc9a-4173-8eb2-21c87afcaa58-1552669065997@3c-app-gmx-bs66> |
Hi, I am using siproxd on my NAT firewall. I have multiple subnets with different VoIP clients in my environment (let's call them LAN and GUEST). My configuration looks like this: if_inbound = eth0 if_outbound = ppp0 hosts_allow_reg = 192.168.0.0/16 On eth0 I have my LAN subnet (192.168.1.x), the siproxd/firewall address is 192.168.1.1. VoIP calls from the same subnet (clients registered through siproxd) work like a charm. The issue is with clients from my GUEST net (192.168.10.x). My GUEST net is on eth1 (192.168.10.1). The clients from the GUEST net can also use 192.168.1.1 as a SIP proxy, but in this case RTP streams only work in one direction. The firewall rules itself should not be an issue, as I have allowed all LAN <-> GUEST communication for testing reasons. My suspicion is that spixroxd gets confused when rewriting the RTP source/destination address. Is there any way to work around this so that clients from subnets which are not the same as the "if_inbound" subnet can still use siproxd? I really want to avoid running a seperate siproxd instance for every subnet. Thanks, Jonas