If things fail and you are on Linux, I'm sure one can build a NAT
rule that maps your source port to the desired one.

Regards
  J�rg

-----Urspr�ngliche Nachricht-----
Von: Misc [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Februar 2004 19:28
An: [EMAIL PROTECTED]
Betreff: Source TCP port for Kannel


Hi there,
my Smsc gave me an UCP access but it requires me to connect FROM a defined
PORT and IP address TO a defined PORT and IP address.

Saying that the EMI/UCP server I need to connect TO is 191.9.65.89 port 5002
and that my kannel box should connect from 242.31.225.60 port 9000

I've set:
group = smsc
smsc = emi
host = 191.9.65.89
port = 5002
smsc-username = Pamela
smsc-password = Anderson
keepalive = 60
our-port = 9000
receive-port = 900

If I trace the connection with tcpdump, I get that my kannel box connects
from 242.31.225.60 port 62523 (this port changes) and not the 9000 as
specified in the connection.

Question:
1) Am I doing something wrong ?
2) If the our-port does not provide the source port config parameter, how do
I setup kannel to open the tcp from the port 9000 ?

Thanks to all

Julien


Reply via email to