Koozali.org formerly Contribs.org

SME 6.0 how to open ports 5222 and 5269 for Jabber IM

ronspicer

SME 6.0 how to open ports 5222 and 5269 for Jabber IM
« on: March 15, 2004, 04:28:02 PM »
I need help.:-? I have installed the Jabber Instant Messenger on my SME 6.0 Server, and I am unable to connect to the Instant Messenger outside of my network.  I need to open the following ports to my localhost (5222 and 5269).  Has anyone created a howto to open ports, or can someone provide me with the commands that I need to open these ports.  Please help me, I am a newbie and these. :hammer:

Anonymous

SME 6.0 how to open ports 5222 and 5269 for Jabber IM
« Reply #1 on: March 15, 2004, 06:55:51 PM »
Not sure what you (really) need/want but I'm sure there is some "problem in wording" here ...

Assuming Jabber does run on the 6.x SME itself:
...else you need to forward and nothing but forward ;-)

_Outgoing_ ports for Jabber will be opened automatically.
_Incoming_ ports from outside via SME 6.x *to* Jabber should/need to be forwarded, not "opened" on the server - try the option you find in the panel .-)
Make sure that you forward TCP and UDP if needed !!!

Regards

ronspicer

SME 6.0 how to open ports 5222 and 5269 for Jabber IM
« Reply #2 on: March 15, 2004, 07:21:29 PM »
Thanks.  In the Server-Manager , under port forwarding I have added TCP 5222 and 5269.  Should I also add it under UDP?

Anonymous

SME 6.0 how to open ports 5222 and 5269 for Jabber IM
« Reply #3 on: March 16, 2004, 12:43:26 AM »
Ok, I have entered in 5222 and 5269 into the port forwarding under TCP and UDP to my internal IP.  I have tryed testing outside of my net work by using telnet Myserver 5222, and I have tryed the same to 5269 and it still will not connect to the server out side of my network. Can anyone Help!!!!!! :-D

RavenIV

SME 6.0 how to open ports 5222 and 5269 for Jabber IM
« Reply #4 on: March 16, 2004, 01:53:47 AM »
this all is very confuse.
please explain what you want to do and what you did.
the tell us what does not work like you expected it.

after that we can help you.

cheers klaus

Anonymous

SME 6.0 how to open ports 5222 and 5269 for Jabber IM
« Reply #5 on: March 16, 2004, 03:32:04 PM »
I have Jabber IM running on my SME 6.X Server.  Inside of my network everyone can connect and chat.  Outside of the network, no one can connect.  I Have added port forwarding for ports 5222 and 5269 with TCP and UDP. Still no one out side of my network can connect.

Lars Kjeldsen

masq
« Reply #6 on: March 17, 2004, 12:26:06 AM »
Hi

Go to this path and open the masq

/etc/init.d/masq

Find this string:

# Adjust all inbound TCP connection rules

And add this string efter the line above.

adjust_tcp_in 5222 ACCEPT InboundTCP_$$
adjust_tcp_in 5269 ACCEPT InboundTCP_$$

Be aware that 5222 and 5269 will be open in the firewall for all trafic to the indside.

Hope that will work.

Regards Lars Kjeldsen

Lars Kjeldsen

Sorry
« Reply #7 on: March 17, 2004, 12:30:34 AM »
I forgot.

after that enter this command in the shell:

service masq restart

Then it works.. :lol:

Now it's time for  :pint:

C'ya