Problem with Openfire Login - Invalid Username and password

I have two Openfire Server instaledd on my network :

server 1 - installed on a windows 2003 machine with openfire default DB

server 2 - installed on a centos 5.3 machine with a mysql DB

I have a Home location and a Remote location conected through a vpn; the computers at remote location act as they would be in the local LAN; the take their IP throught DHCP; can browse the network…etc

At remote location if I try to connect spark at server 1 it works perfectly, but if i try to connect at server 2 i get the message Invalid Username or Password ?

i installed openfire on centos with embeded DB - still cannot conect to chat server ; on centos machine firewall is down; is visible - i can ping in to it; has the necesary ports opened - visible at a nmap scan

PS Both servers are at home location; Strange is that from remote location I can connect to the openfire installed on Windows and I cant on the openfire installed on Linux

f I listen on the port 5222 this is what i get :

[root@localhost ~]# tcpdump port 5222
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
10:31:34.797257 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: S 2473220442:2473220442(0) win 65535 <mss 1360,nop,nop,sackOK>
10:31:34.825420 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: S 883553668:883553668(0) ack 2473220443 win 5840 <mss 1460,nop,nop,sackOK>
10:31:34.914360 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: . ack 1 win 65535
10:31:34.925257 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: P 1:118(117) ack 1 win 65535
10:31:34.925293 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 118 win 5840
10:31:35.015327 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: P 1:196(195) ack 118 win 5840
10:31:37.977241 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: P 1:118(117) ack 1 win 65535
10:31:37.977274 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 118 win 5840 <nop,nop,sack 1 {1:118}>
10:31:38.017622 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: P 1:196(195) ack 118 win 5840
10:31:44.001115 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: P 1:118(117) ack 1 win 65535
10:31:44.001158 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 118 win 5840 <nop,nop,sack 1 {1:118}>
10:31:44.018623 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: P 1:196(195) ack 118 win 5840
10:31:56.020975 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: P 1:196(195) ack 118 win 5840
10:31:56.022648 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: P 1:118(117) ack 1 win 65535
10:31:56.022671 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 118 win 5840 <nop,nop,sack 1 {1:118}>
10:32:04.963062 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: FP 118:134(16) ack 1 win 65535
10:32:04.963966 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: FP 196:682(486) ack 135 win 5840
10:32:08.090580 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: FP 1:134(133) ack 1 win 65535
10:32:08.090617 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 135 win 5840 <nop,nop,sack 1 {1:135}>
10:32:20.025796 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: FP 1:682(681) ack 135 win 5840
10:32:20.131715 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: FP 1:134(133) ack 1 win 65535
10:32:20.131768 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 135 win 5840 <nop,nop,sack 1 {1:135}>
10:32:44.205334 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: FP 1:134(133) ack 1 win 65535
10:32:44.205369 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 135 win 5840 <nop,nop,sack 1 {1:135}>
10:33:08.035218 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: FP 1:682(681) ack 135 win 5840
10:33:32.248941 IP 192.168.2.3.alta-ana-lm > 192.168.1.59.xmpp-client: FP 1:134(133) ack 1 win 65535
10:33:32.248988 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: . ack 135 win 5840 <nop,nop,sack 1 {1:135}>
10:34:44.054418 IP 192.168.1.59.xmpp-client > 192.168.2.3.alta-ana-lm: FP 1:682(681) ack 135 win 5840

What might be the problem ?

SOLVED

added static routes and now it is working

What did you do to solve this on your linux box?

When you say you added a static route…to what? The Linux server?

i’m in the same situation, where my client is on one side of the VPN (we use Cisco ASAs on each end) and the server is on the other side. I can ping it, browse to the openfire website on it, but can’t use the client or telnet to port 5222.