Koozali.org: home of the SME Server

Problems with Wildfire on RC2 - No external access...

scismondo

Problems with Wildfire on RC2 - No external access...
« on: May 24, 2006, 08:58:13 PM »
Hi all,

I've just installed Wildifre on my RC2, and it works fine from my internal network - I can create an account and connect to it with Gaim.
The problem is that some people outside tried to do the same and couldn't. Of course I've forwarded the TCP ports 5222 and 5223 to localhost on the server as said in the tutorial I've found here, but no result... Unfortunately I can't try myself I can access the Internet only from here through my SME.

Any suggestion will be greatly appreciated!

Thanks,

Seb.

scismondo

Problems with Wildfire on RC2 - No external access...
« Reply #1 on: May 24, 2006, 09:44:11 PM »
I have several lines like this in my iptables log...

2006-05-24 19:45:47.535326500 May 24 19:45:37 sme-server-7 denylog: IN=ppp0 OUT=ppp0 MAC= SRC=81.51.184.119 DST=82.251.4.55 LEN=60 TOS=00 PREC=0x00 TTL=52 ID=8537 DF PROTO=TCP SPT=37181 DPT=5222 SEQ=784345484 ACK=0 WINDOW=5840 SYN URGP=0
2006-05-24 19:46:11.547428500 May 24 19:46:01 sme-server-7 denylog: IN=ppp0 OUT=ppp0 MAC= SRC=81.51.184.119 DST=82.251.4.55 LEN=60 TOS=00 PREC=0x00 TTL=52 ID=8539 DF PROTO=TCP SPT=37181 DPT=5222 SEQ=784345484 ACK=0 WINDOW=5840 SYN URGP=0
2006-05-24 19:46:59.522819500 May 24 19:46:49 sme-server-7 denylog: IN=ppp0 OUT=ppp0 MAC= SRC=81.51.184.119 DST=82.251.4.55 LEN=60 TOS=00 PREC=0x00 TTL=52 ID=8541 DF PROTO=TCP SPT=37181 DPT=5222 SEQ=784345484 ACK=0 WINDOW=5840 SYN URGP=0

I'm not used to it, but it seems that the connections on port 5222 are blocked, despite the port forwaded to localhost... Or is it something else?

scismondo

Problems with Wildfire on RC2 - No external access...
« Reply #2 on: May 25, 2006, 01:26:36 AM »
OK don't waste your time guys, I've found the solution!
I had to make Wildfire run as a service:

If you would like to install Wildfire as a service, two scripts are provided in the bin/extra directory:

    * redhat-postinstall.sh -- automatically installs Wildfire as a service on Red Hat. It does so by creating a "jive" user and then copying the wildfired script to your init.d directory. This script must be run as root. Please see the comments in the script for additional information.
    * wildfired -- script to run Wildfire as a service. You must manually configure this script. See the comments in the script for additional details.


Then open the ports as said somwhere in the FAQ here... I'll try to find the link back later. Anyway it's in the FAQ.

Now it works fine.

Seb.