[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2841
  • Last Modified:

How can I connect to openfire using pidgin through a NAT?

Hi,
We use Spark at the office with an openfire server for chat communication, some of use use Pidgin cos it handles so many different services, which works great internally, but from outside it just refuses to connect. Pidgin asks me if I want to accept the certificate or not, I click accept, and then it says "disconnected, not authorised".
I have opened forts 5222, 5223, 7777, 3478 and 3479 one at a time on our firewall, no luck.
Any help would be greatly appreciated.
Steven
0
StevenHook
Asked:
StevenHook
  • 4
  • 3
5 Solutions
 
mmarx82Commented:
Is it possible for you and your clients to connect in with a VPN?
Does the Spark client work to connect in to Openfire from outside of the office?
0
 
StevenHookAuthor Commented:
I have a VPN - but I'd like the chat to be more always-on
With Spark I get an invalid username / password error. - I have checked and rechecked them though.
0
 
mmarx82Commented:
Is there something on it that would keep you from putting it in a DMZ? I'll have to look at ours when I go back to work but that won't be until the 12th. I have a feeling that there are some more ports if you have to use a NAT. What are you using as your server name, is it DNS routable from the outside (Ex: spark.domain.com)? What are you using for your firewall?
In the meantime take a look at these in the igniterealtime forums, they may be of use:
http://www.igniterealtime.org/community/thread/27051 
http://www.igniterealtime.org/community/message/148133 
0
The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

 
javanesevnCommented:
Hello StevenHook,

Could you copy your Spark log in here? By the way, you can telnet to your server from outside?

Regards,
0
 
StevenHookAuthor Commented:
I can telnet to 5222 and 5223 - but the output is not humanly understandable.
it's like the server doesn't trust external connections?
stream:error (not-authorized)
	at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:306)
	at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
	at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)
04 Apr 2010 9:43:19 PM org.jivesoftware.spark.util.log.Log warning
WARNING: Exception in Login:
Connection failed. No response from server.: 
	at org.jivesoftware.smack.PacketReader.startup(PacketReader.java:164)
	at org.jivesoftware.smack.XMPPConnection.initConnection(XMPPConnection.java:875)
	at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:834)
	at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)
	at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:822)
	at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:196)
	at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:594)
	at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)
	at java.lang.Thread.run(Unknown Source)
stream:error (not-authorized)
	at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:306)
	at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
	at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)
04 Apr 2010 9:44:05 PM org.jivesoftware.spark.util.log.Log warning
WARNING: Exception in Login:
Connection failed. No response from server.: 
	at org.jivesoftware.smack.PacketReader.startup(PacketReader.java:164)
	at org.jivesoftware.smack.XMPPConnection.initConnection(XMPPConnection.java:875)
	at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:834)
	at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)
	at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:822)
	at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:196)
	at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:594)
	at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)
	at java.lang.Thread.run(Unknown Source)
stream:error (not-authorized)
	at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:306)
	at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
	at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)
04 Apr 2010 9:47:12 PM org.jivesoftware.spark.util.log.Log warning
WARNING: Exception in Login:
Connection failed. No response from server.: 
	at org.jivesoftware.smack.PacketReader.startup(PacketReader.java:164)
	at org.jivesoftware.smack.XMPPConnection.initConnection(XMPPConnection.java:875)
	at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:834)
	at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)
	at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:822)
	at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:196)
	at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:594)
	at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)
	at java.lang.Thread.run(Unknown Source)
stream:error (not-authorized)
	at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:306)
	at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
	at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)
04 Apr 2010 10:27:37 PM org.jivesoftware.spark.util.log.Log warning
WARNING: Exception in Login:
Connection failed. No response from server.: 
	at org.jivesoftware.smack.PacketReader.startup(PacketReader.java:164)
	at org.jivesoftware.smack.XMPPConnection.initConnection(XMPPConnection.java:875)
	at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:834)
	at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1276)
	at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:822)
	at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:196)
	at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:594)
	at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)
	at java.lang.Thread.run(Unknown Source)

Open in new window

0
 
mmarx82Commented:
I'm sorry, it looks like you got everything right short of trying to put it in a DMZ.
0
 
StevenHookAuthor Commented:
How will the DMZ help with external access?
am I forwarding the right ports?
Steven
0
 
mmarx82Commented:
It appears so, putting it in the DMZ will let you know for sure. You don't have to keep it there but it will eliminate whether or not it's a port issue.
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now