It is the firewall. Most consumer firewalls allow mapping inbound ports (probably what you describe). I don't know of any that do outbound mapping. Linux or *bsd firewalls should be able to do what you want. I'm sure a cisco with IOS could but it has been ages since I've played with that. On 2/4/2009 9:20 AM, Jonas Gauffin wrote:
I'm behind NAT. Is it FS that picks the random port, or the FW?
I've mapped port 5060 to the freeswitch ip in my FW.
On Wed, Feb 4, 2009 at 3:14 PM, Anthony Minessale <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
if you are not behind any nat then as long as you run your profile on 5060, the source port on every packet will be 5060. If you *are* behind nat the nat mapping will pick a random port unless you have a firewall that allows you to set specific mappings.
On Wed, Feb 4, 2009 at 6:26 AM, Jonas Gauffin <jonas.gauffin@gmail.com <mailto:jonas.gauffin@gmail.com>> wrote:
Hello
I'm trying to make outbound calls through my gateway provider. My calls got rejected and I asked them why.
Apparently I need to use 5060 as source port, since they validate both my IP and the port that the messages come from. Is this possible with freeswitch? If so, what config settings should I set?
Regards, Jonas