Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ entry for rpi openvpn performance issue #1424

Closed
stevef1uk opened this issue Oct 20, 2023 · 0 comments
Closed

FAQ entry for rpi openvpn performance issue #1424

stevef1uk opened this issue Oct 20, 2023 · 0 comments

Comments

@stevef1uk
Copy link

stevef1uk commented Oct 20, 2023

I noticed that my client vpn link after installing the latest version of raspy was running very slowly c. 2mbs
This caused me issues as I use it for streaming media. The rpi running raspap is connected by ethernet to my router and I start openvpn via the rasap GUI with a client configuration to connect to a rpi running openvpn remotely.

I solved the problem via some very esoteric fixes after a lot of Googling. I just wanted to share my solution which resulted in me getting c 20mbs again. I am sharing in case anyone else has this issue.

First I noticed on the rpi I am running raspy I had lost DNS when sshing onto linux. In order to fix this and get the vpn connection speed back up to 20mbs from 2mbs I needed to make configuration files changes to 2 files:

see lukicdarkoo/rpi-wifi#23 & https://pimylifeup.com/raspberry-pi-dns-settings/

  1. I edited /etc/default/dnsmasq & added to the end:
    DNSMASQ_EXCEPT=lo

  2. I edited /etc/dhcpcd.conf & added:
    interface eth0
    static domain_name_servers=8.8.8.8 8.8.4.4

Also added static domain_name_servers=8.8.8.8 8.8.4.4 to wlan0 interface

As a slight additional optimisation I followed this guide & added to by openvpn config file /etc/openvpn/client.conf
mssfix 1420

I am not sure whether the raspap install updates the two primary config files listed above, but if it does perhaps they could be updated as above?

@RaspAP RaspAP locked and limited conversation to collaborators Oct 20, 2023
@billz billz converted this issue into discussion #1425 Oct 20, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant