Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Openvpn between neorouter clients issue
PostPosted: Thu Nov 09, 2017 5:11 am 
Offline

Joined: Thu Jan 12, 2017 3:43 am
Posts: 4
Hi.

I'm trying to setup a openvpn TAP tunnel between two neorouter clients.
it's no problem estabilish the communication. I can ping the subnet behind the client and access the network, but everything is extremly slow. it's like there is alot of packet drops or something like that.

If i try connect the openvpn tunnel to the other client using it's public ip instead of the neorouter ip, everything works perfect and fast.
The reason why i want to use the neorouter ip instead is because sometimes i can't have a public ip on the other client.

i've tried using openvpn with both TCP/UDP, with/without encryption. The combination that works best right now is using TCP with encryption, worse results is with udp without encryption..

is it something about neorouter trying to make a p2p connection using the vpn that makes the connection slow? i have tried to disable package filter on the server without any difference.


Top
 Profile  
 
 Post subject: Re: Openvpn between neorouter clients issue
PostPosted: Thu Nov 09, 2017 9:50 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1847
Hi esv,

The reason would be one VPN over another VPN, hence it causes too much overhead. Both OpenVPN and NR try to find the shortest route to send packets, when a VPN is ready before another, it definitely choose the VPN tunnel instead of the physical networks, if they are cross Internet or networks.

So it's not recommended run multiple VPNs, as it will slow down the performance fore sure.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: Openvpn between neorouter clients issue
PostPosted: Thu Nov 09, 2017 10:59 am 
Offline

Joined: Thu Jan 12, 2017 3:43 am
Posts: 4
Must be something about the nr traffic using the vpn tunnel setup by openvpn instead..

I've tried to only use openvpn for this today, running a vpn tunnel inside another openvpn tunnel and that is working perfectly.

Like this: Client1(with ip 10.5.5.2) is connected to a vpn server using a routed tunnel, client2(10.5.5.3) is connected to the same vpn server.
When both clients are connected to the server i connect the TAP(layer 2) openvpn between the two clients (inside the vpn tunnel). i know this causes a lot of overhead but this setup works. And i can access the whole network behind client2.

kevinz wrote:
Hi esv,

The reason would be one VPN over another VPN, hence it causes too much overhead. Both OpenVPN and NR try to find the shortest route to send packets, when a VPN is ready before another, it definitely choose the VPN tunnel instead of the physical networks, if they are cross Internet or networks.

So it's not recommended run multiple VPNs, as it will slow down the performance fore sure.

Thanks,
KevinZ - NeoRouter team


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 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: