Hello everyone

I have a problem connecting to OpenSER from my public IP.

I can connect and make calls to OpenSER inside my LAN but when I connect from outside LAN I get the 513 Massage too big massage. I than changed the openSER default config's section that checks a message size to a bigger number and I got the I get the "483 - too many Hops" error.

I changed the config back to default and tested it with ngrep and I tried connecting to the server from a server in another state.

The SIP server is on 192.168.1.109 and the computer trying to connect is on 192.168.1.100

 And ngrep gave me these massages:


Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1 ;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71 >;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 192.168.1.109:5060 -> 192.168.1.1:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.2d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.1d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71 >;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 74.13.124.71:5060 -> 192.168.1.109:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.2d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.1d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71 >;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 192.168.1.109:5060 -> 192.168.1.1:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.1d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received= 67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724 .
From: "100"<sip:100@74.13.124.71>;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 74.13.124.71:5060 -> 192.168.1.109:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.1d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"< sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71>;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 192.168.1.109:5060 -> 192.168.1.1:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received= 67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"< sip:100@74.13.124.71>;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 74.13.124.71:5060 -> 192.168.1.109:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1 ;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71 >;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 192.168.1.109:5060 -> 192.168.1.1:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71 >;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 74.13.124.71:5060 -> 192.168.1.109:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71 >;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 192.168.1.109:5060 -> 67.186.60.123:29296
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.15.100:29296;received= 67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"< sip:100@74.13.124.71>;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.3d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109 ;received=192.168.1.1;branch=z9hG4bKcf61.2d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.1d407ae2.0 .
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109 ;received=192.168.1.1;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123 ;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"< sip:100@74.13.124.71>;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 192.168.1.109:5060 -> 192.168.1.1:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.3d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1 ;branch=z9hG4bKcf61.2d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.1d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1 ;branch=z9hG4bKcf61.fc407ae2.0.
Via: SIP/2.0/UDP 192.168.15.100:29296;received=67.186.60.123;branch=z9hG4bK-d87543-ce4dd823475b2c25-1--d87543-;rport=29296.
To: "100"<sip:100@74.13.124.71>;tag=329cfeaa6ded039da25ff8cbb8668bd2.3724.
From: "100"<sip:100@74.13.124.71 >;tag=6c4a5976.
Call-ID: Y2NhNzExOWI4ODViYjc2NjJlMTUxOGYwNTUxMTYxNDk..
CSeq: 1 REGISTER.
Server: OpenSER (1.2.2-notls (i386/linux)).
Content-Length: 0.
.

#
U 74.13.124.71:5060 -> 192.168.1.109:5060
SIP/2.0 513 Message too big.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.3d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.2d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received=192.168.1.1;branch=z9hG4bKcf61.1d407ae2.0.
Via: SIP/2.0/UDP 192.168.1.109;received= 192.168.1.1;branch=z9hG4bKcf61.0d407ae2.0.




--
Thank You