[Freeswitch-users] firewall and nat
kristjan.ugrin at gmail.com
Wed Jan 7 01:33:06 PST 2009
Yesterday I've successfully placed a call between two different domains:
originate sofia/default/1003 at 10.99.8.221 &bridge(sofia/gateway/18.104.22.168/1001)
I didn't hear any audio, but it was kinda working. Today I investigated this more deep and found some issues.
FS with 22.214.171.124 is a public computer with firewall, but open TCP and UDP 5060, 5080 ports. Freeswitch on this machine
uses default configuration.
FS with 10.99.8.221 is a lan computer in a different place, this is where I would like to start a call, the other way would
be probably too much difficult for now. I've added a gateway entry to this one:
Calling from 10.99.8.221 (for e.g. using softphone at ext. 1003) to 126.96.36.199 (ext. 1001 for e.g.) works. Both end
answers, however I cannot hear audio coming trough. When testing I'm at the computer which is behind a lan, so I'm
capturing music as audio source on the other side.
Are there any other ports I should open on public computer?
With wireshark on the computer behind a lan, I can see RTP going away to 188.8.131.52, but not the other way.
There are also issues when e.g. terminating a call on public computer, fs on the other end will never terminate the call since
SIP messages cannot reach the computer behind lan I guess, but this is second problem.
More information about the FreeSWITCH-users