Cyrus, That's pretty strange. I don't know of any config files to set that. Furthermore, it's quite unpractical, since it's the undelying OS the one setting the ports. Even if you were able to set a port, there's no guarantee from the OS that the specified port will even be available when kannel tries to allocate it. Maybe reserving a < 1024 port, but even then you have to be careful. Even then, Kannel will use one port for each connection established, so you'll have as many ports as connections.
Anyway, are you absolutely sure about the requirement? Doesn't seem reasonable IMHO. Kannel is a _client_, so it will first connect to a given SMPP port on the SMSC and then the underlying OS will set a different local port for each connection. Maybe you can hack some solution by using stunnel, iptables or maybe a tcp proxy capable of mangling packets and ports. I'm not sure if it's possible, though, the VPN in the middle will add extra complexity also. IMHO any firewall issues on the SMSC side could and should be worked out at their side. Hope it helps. Alejandro On 8/13/07, Cyrus Patel <[EMAIL PROTECTED]> wrote: > > Hello, > > > > We are trying to use Kannel to connect to a SMSC over a VPN. > > > > We are having a problem because the SMSC's firewall engineers want our > Kannel client to always connect using the same outgoing port each time (as > opposed to randomly selecting a port as usual). > > > > Is it possible to set this in the kannel config file? > > > > Thanks, > > Cyrus > > > > > > *Cyrus Patel*** > > *Senior Software Engineer* > > *Seeker Wireless*** > > * * > > *TEL: +61 2 9499 9848* > > *FAX: +61 2 9499 9845* > > *MOB: +61 413 685 795*** > > [EMAIL PROTECTED] > > * * > > > > *Seeker Wireless Pty. Ltd., ABN 95 106 550 805. This electronic > mail includes information from Seeker Wireless Pty Ltd which may be > privileged or confidential. This information is for the use of the > individual(s) or entity named in the greeting above. If you are not the > intended recipient please be aware that any use of this information is > prohibited. If you have received this electronic mail in error, please > notify the sender (above) by return email**.*** > > > > > No virus found in this outgoing message. Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.15/949 - Release Date: > 12/08/2007 11:03 > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
