Hi guys,
Just got setup for VFX last week, so I've been following Tony's instructions to get Trixbox up and running (thanks Tony!), with both eyeBeam and my Linksys SPA942. So far, I've got outbound calls working perfectly.
Inbound calls are not working though. WxC give me the message "The party you have called is unavailable" or similar when calling in from outside. sip debug peer VFX shows no indication that anyone is trying to connect to the Trixbox.
I'm behind a Debian machine that has been built as a NATing firewall using iptables. Due to the fact that RTP seems to choose a random port, I've added a single rule that should do DNAT PREROUTING for any UDP packets destined for ports 5000 through 32000 that arrive from as.wxcnz.net, to send them to Trixbox, as follows:
# Generated by iptables-save v1.2.11 on Thu Dec 6 23:41:44 2007
*nat
:PREROUTING ACCEPT [99316:6534542]
:POSTROUTING ACCEPT [2595:300942]
:OUTPUT ACCEPT [4868:469657]
-A PREROUTING -s 58.28.20.150 -i eth1 -p udp -m udp --dport 5000:32000 -j DNAT --to-destination 192.168.2.205
-A POSTROUTING -o eth1 -j SNAT --to-source 121.73.xxx.xxx
COMMIT
# Completed on Thu Dec 6 23:41:44 2007
eth0 is internal LAN, eth1 is connected to Telstra cable modem, 192.168.2.205 is the Trixbox server.
Any ideas what I've screwed up?
How are you guys dealing with NAT on VFX?
Thanks,
Carey
#


