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
StevenHookAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
MSSPs - Are you paying too much?

WEBINAR: Managed security service providers often deploy & manage products from a variety of solution vendors. But is this really the best approach when it comes to saving time AND money? Join us on Aug. 15th to learn how you can improve your total cost of ownership today!

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.