Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: No connection from PC behind firewall
PostPosted: Thu Oct 20, 2011 9:34 am 
Offline

Joined: Thu Oct 20, 2011 7:57 am
Posts: 9
Hi,
I am trying to use Neorouter mesh. It works very well at home and from my Android, but I cannot connect from my office.
My office PC is behind a corporate firewall of which I have no control. My understanding was that, upon correctly configuring the proxy, I would have been able to connect to your server and therefore have a bridged connection to my home.
The proxy is an HTTP proxy which lets outbound traffic only through port 80 and 443. Is it supposed to work?

The error message I get is:
"Cannot connect to NeoRouter Server due to error 0X8007006B. Automatically retry."

Oh, I am using Linux both at home and at work.

Thank you in advance
Bye
Cris


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Thu Oct 20, 2011 12:42 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1868
Hi Cris70,

NR client supports HTTP 1.1 proxy server, but does not support NTLM proxy yet.

If your proxy server uses NTLM authentication, you may want to take a look at the tool cntlm. http://cntlm.sourceforge.net/ . You have to run it as a HTTP 1.1 proxy server between NR client and your corporation's proxy server.

Remember to restart the nrservice.exe after you updated the proxy settings in the Network Explorer.

It would be better to try the Configuration Explorer to troubleshoot, then run the NR client.

If you still have problem, please collect the log file of the Configuration Explorer and send it to us, we'd like to help you out.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Thu Oct 20, 2011 3:53 pm 
Offline

Joined: Thu Oct 20, 2011 7:57 am
Posts: 9
Kevinz,
thank you for your reply and for the informations.

Unfortunately the problem is not NTLM auth, since our corporate proxy does not require authentication.

About the configuration explorer: where do I find it? Do I need to run it on a Windows workstation? Please remember I am running Linux, but if configuration explorer is not available on Linux I may be able to try it on a Windows box.

Bye
Cris


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Thu Oct 20, 2011 8:20 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1868
Hi Cris70,

If so, it should work. Please help collect the log file or nrservice so that we can figure out the issue.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Fri Oct 21, 2011 5:01 am 
Offline

Joined: Thu Oct 20, 2011 7:57 am
Posts: 9
Kevinz,
where do I find the log files?
Or, how do I launch nrservice so that it logs?

Bye
Cris


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Fri Oct 21, 2011 7:10 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1868
Hi Cris70,

For the detailed information, please refer to
http://www.neorouter.com/wiki/index.php ... og_file.3F

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Mon Nov 21, 2011 1:20 pm 
Offline

Joined: Thu Oct 20, 2011 7:57 am
Posts: 9
Hi Kevinz, sorry for the long silence but I had no time to test.

I tried to generate a log file but did not succeed.
The FAQ you pointed me to says "to create a file Log.ini under the main config folder or the same folder of the application". However I don't know where the "main config folder" is, and despite looking hard I could not find it. So I created Log.ini in the /usr/bin folder where nrservice resides, and just to be sure I copied it to my home directory and to the root home directory. Then restarted the service and tried to login again, but saw no logfile in the path that I had configured in Log.ini.

Part of my problem is that there really is no specific documentation for NeoRouter Mesh, everything is for the normal Neorouter service, and the vast majority of the docs deal with Windows.

However I think I did everything correct because I can connect from home.

Would you be so kind to help me some more with the logfile issue?

Thank you in advance.

Cris


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Tue Nov 22, 2011 5:40 am 
Offline

Joined: Thu Oct 20, 2011 7:57 am
Posts: 9
KevinZ, I finally got it.
I put Log.ini in /usr/local/ZebraNetworkSystems/NeoRouter and restarted nrservice.

Then I issued two commands:
1) nrclientcmd -d guadagnino -u guadagnino -p ******** -setproxy http,172.16.10.110,8080,noauth -register

2) nrclientcmd -d guadagnino -u guadagnino -p ********

The first command returned immediately with success. The second displayed "signing in" for a while, then it displayed the usual "Cannot connect to NeoRouter..." error.

BTW, I do not clearly understand the meaning of the -register and -setconn switches.

Also, at home I have two xml files in the config folder, but here I have the README and nothing more.

I am sending the logfiles as attachment.

Bye
Cris


Attachments:
File comment: nrclient and nrservice logs
neorouterlogs.zip [14.81 KiB]
Downloaded 842 times
Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Tue Nov 22, 2011 11:23 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1868
Hi Cris70,

Did you try this (run as root to generate the Proxy.xml)?
nrclientcmd -d guadagnino -u guadagnino -p ******** -setproxy http,172.16.10.110,8080,noauth

Did you see the Proxy.xml file generated under the folder /usr/local/ZebraNetworkSystems/NeoRouter after running the command above?

Let us know the results. From the log file, I can see the proxy does not work.

The -register is used for registering the computer to the server. It simply does sign in and sign out against the NR server.

The -setconn is used for specifying the connection type of the client, UDP P2P, TCP P2P or relay.

Note:
Since those config settings would be written to the file under the folder /usr/local/ZebraNetworkSystems/NeoRouter, make sure run nrclientcmd under the user which has enough permission.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: No connection from PC behind firewall
PostPosted: Tue Nov 22, 2011 11:43 am 
Offline

Joined: Thu Oct 20, 2011 7:57 am
Posts: 9
YES!! It worked kevinz!!

Running the nrclientcmd as root worked as expected and generated the Proxy.xml file. After that I could connect correctly!!

Thank you!

Bye
Cris


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: