|Direct P2P connections
|Page 1 of 1|
|Author:||juraj [ Wed Aug 24, 2016 10:15 am ]|
|Post subject:||Direct P2P connections|
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?)
|Author:||kevinz [ Fri Aug 26, 2016 9:06 am ]|
|Post subject:||Re: Direct P2P connections|
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
http://www.neorouter.com/wiki/index.php ... 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.
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
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group