OpenVpn

Having issues with your DietPi installation or found a bug? Post it here.
DPINoob786
Posts: 22
Joined: Fri Mar 05, 2021 3:26 pm

OpenVpn

Post by DPINoob786 »

Hi Guys.

any idea how to increase the speed of data transfer through openvpn i have a 10mb line but upload and download over vpn is like below 100kpbs
User avatar
trendy
Posts: 292
Joined: Tue Feb 25, 2020 2:54 pm

Re: OpenVpn

Post by trendy »

What is the CPU usage during transfers?
Which device is running OpenVPN?
How many hops are you adding to the path when you connect to the VPN server?
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: OpenVpn

Post by Joulinar »

OpenVPN server is the local device @trendy

@DPINoob786 as already stated on different places on this same question, have a look to WireGuard as it has better performance compare to OpenVPN
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
trendy
Posts: 292
Joined: Tue Feb 25, 2020 2:54 pm

Re: OpenVpn

Post by trendy »

Yes, but which device? Is it an RPi? A RockPi? Something else?
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: OpenVpn

Post by Joulinar »

following the other conservations it's a Raspberry Pi, but not sure on the model
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DPINoob786
Posts: 22
Joined: Fri Mar 05, 2021 3:26 pm

Re: OpenVpn

Post by DPINoob786 »

hi all it is a raspberry pi 3 b +
User avatar
trendy
Posts: 292
Joined: Tue Feb 25, 2020 2:54 pm

Re: OpenVpn

Post by trendy »

That should have enough cpu cycles to handle more than 100kbps.
Answer the rest of the questions as well.
DPINoob786
Posts: 22
Joined: Fri Mar 05, 2021 3:26 pm

Re: OpenVpn

Post by DPINoob786 »

trendy wrote: Tue Mar 16, 2021 11:12 am That should have enough cpu cycles to handle more than 100kbps.
Answer the rest of the questions as well.
Hi could you please tell me how to find the answers to those questions what are the commands for finding out :

What is the CPU usage during transfers?

Which device is running OpenVPN?
i think the answer to this is the raspberry pi b3 +

How many hops are you adding to the path when you connect to the VPN server?
DPINoob786
Posts: 22
Joined: Fri Mar 05, 2021 3:26 pm

Re: OpenVpn

Post by DPINoob786 »

trendy wrote: Tue Mar 16, 2021 11:12 am That should have enough cpu cycles to handle more than 100kbps.
Answer the rest of the questions as well.
i am not sure if this will help but this is the status of the vpn also is there a way i could contact you for assistance other than this forum ?

root@HomeNET:~# /etc/init.d/openvpn status
● openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2021-03-07 18:17:05 CAT; 1 day 2h ago
Process: 356 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 356 (code=exited, status=0/SUCCESS)

Vul 07 18:17:05 HomeNET systemd[1]: Starting OpenVPN service...
Vul 07 18:17:05 HomeNET systemd[1]: Started OpenVPN service.
User avatar
trendy
Posts: 292
Joined: Tue Feb 25, 2020 2:54 pm

Re: OpenVpn

Post by trendy »

DPINoob786 wrote: Thu Mar 18, 2021 8:30 am Hi could you please tell me how to find the answers to those questions what are the commands for finding out :
What is the CPU usage during transfers?
top or htop
DPINoob786 wrote: Thu Mar 18, 2021 8:30 am How many hops are you adding to the path when you connect to the VPN server?
Do a traceroute or mtr to the destination without VPN and then with VPN.
Post Reply