Trying to install OpenVPN onto Raspberry PI

Hi. I am trying to install OpenVPN on my raspberry pi and when I go to install it, the only network interfaces that show up are lo and tun0. I have other applications running on this pi through docker that may be causing the issue. I am connected to wifi currently using wlan0. Please help! Thank you!

Why OpenVPN and not wireguard?

The docker for wg-easy works great

thanks, i’ll try that

Wireguard really is way better than OpenVPN. Multitudes faster, faster handshakes, super easy to split tunnel too

I have installed wire guard from docker, but how do I only relay my local network through the VPN as i am only using it for accessing my local nas and servers.

Open port on your router and point it to wg-easy’s IP address

It should give you full access to your home network from there

i know, but how do i have all other websites go through my normal server without vpn?

That’s called “split tunnelling”

Edit the “allowed ip’s” from 0.0.0.0

To your IP home range, such as:

192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, fc00::/7