Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 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: 8
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: 1878
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: 8
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  
 
 Post subject: Re: Openvpn between neorouter clients issue
PostPosted: Wed Nov 14, 2018 10:24 am 
Offline

Joined: Thu Jan 12, 2017 3:43 am
Posts: 8
i found a solution for this problem.
it was a MTU issue. because i used a UDP tunnel and neorouter MTU was 1300 (link was trying to use 1500).

Adding the line "link-mtu 1260" to the openvpn file fixed it. (i don't know if 1260 is the highest value possible or not, but it's working now)


Top
 Profile  
 
 Post subject: Re: Openvpn between neorouter clients issue
PostPosted: Mon Feb 11, 2019 9:53 pm 
Offline

Joined: Tue Jan 22, 2019 9:50 pm
Posts: 2
This article is very detailed and meticulous, I read a lot of articles on this topic, but for this article, you leave me a deep impression and practical application to my life. Thank you for sharing.


Top
 Profile  
 
 Post subject: Re: Openvpn between neorouter clients issue
PostPosted: Thu Jun 27, 2019 12:37 am 
Offline

Joined: Thu Jun 27, 2019 12:29 am
Posts: 3
Location: http://delab.ge/
esv wrote:
i found a solution for this problem.
it was a MTU issue. because i used a UDP tunnel and neorouter MTU was 1300 (link was trying to use 1500).

Adding the line "link-mtu 1260" to the openvpn file fixed it. (i don't know if 1260 is the highest value possible or not, but it's working now)


Same here, your solution fixed problem, thank you.

_________________
Emily'sQuotes & littlebit of Happy Wheels II =D


Top
 Profile  
 
 Post subject: Re: Openvpn between neorouter clients issue
PostPosted: Wed Apr 20, 2022 11:31 pm 
Offline

Joined: Wed Sep 15, 2021 8:58 am
Posts: 2
I have actually made my server through Get IT Equip for multiple computer setups in order to get the best result. I have a NeoRouter server installed on my personal computer. When I installed it I choose "NeoRouter server" option, it installed both server and client software on the same machine. I did all the steps that neorouter team mentioned above and it resolved all of the issues that I was facing just as same as you did. In my opinion, NeoRouter servers are far superior to any other alternatives.

_________________
buy a computer server


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

All times are UTC - 5 hours


Who is online

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