AW: Source TCP port for Kannel

Jörg Pommnitz <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.