All times are UTC - 5 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Direct P2P connections
PostPosted: Wed Aug 24, 2016 10:15 am 

Joined: Wed Aug 24, 2016 10:04 am
Posts: 1
Hi, I am trying to set up a small VPN network on my university network. My machines can ping themselves on the university network, I can SSH between them etc., netcat works, and they're all behind a single NAT. However, when I join a Neorouter network (I am running a Neorouter free server on Amazon AWS), direct P2P connections are always relayed (I detect this with ~400 ms pings using VPN ips, while pinging their LAN IPs directly has delays around 2-3 ms). Is there a way I can find out exactly what happens, why they can't talk directly using the university LAN and which route is taken between the peers (is it relayed using the server?)

 Post subject: Re: Direct P2P connections
PostPosted: Fri Aug 26, 2016 9:06 am 

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

NR clients tries to establish UDP P2P connection with peers, it may downgrade to relay mode if failed. If there are symmetric NAT or restrict firewall rules between those peers, they would fail. If there are more than 2 NATs in front of a device, it depends on how busy those NATs. In your case, it is more like restric firewall rules block the P2P connection.

If you can change the firewall rule of your router and open a port range for NR clients, it would be able to establish P2P connection. then you may need to change teh Feature.ini file telling NR the port range.

Take a look at the port range setting in Feature.ini ... ationFiles

#Description: Min listen port when establishing P2P connection
#Options: 0 - use port allocated by OS; > 0 specify start port number of the port range, that is used by Client to establish P2P connections.
#Default: 0

Btw, the 400ms ping is too slow. Usually relay mode should not be that slow. Please check your NR server's performance or network speed.

KevinZ - NeoRouter team

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: No registered users and 1 guest

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: