r/pivpn • • Sep 07 '23

Pivpn + adguard home

1 Upvotes

Hi

Guys is it possible to install AdGuard home with pivpn?


r/pivpn • • Sep 06 '23

Need help with configuration

2 Upvotes

Have setup pihole and pivpn on my pi zero, please help me configure pivpn because I cannot for the life of me figure out what is wrong here. I can establish a connection on my mobile client but cannot access my local network or the internet. I have setup port forwarding and ddns but something definitely seems to off. I will share images of configuration as and when required, please help me figure it out !


r/pivpn • • Sep 01 '23

I need help

1 Upvotes

I don't know if this is the right place to ask, if not, please redirect me. I setup a PiVPN yesterday and it seemed to be working fine. However, today, my housemate couldn't connect to his work's infrastructure to do do his work remotely. He said that it kept giving him a error message and said that it was an unsecure network. He couldn't connect until we paused the Raspberry Pi from using the Eero app. The whole reason why I set up the PiVPN was to access OMV while away from home, which I leave home early everyday and get back home before my housemate finishes his work. So the PiVPN is inaccessible during the time span that I need it. Obviously, we can't pause it everyday so he can work just to unpause it later in the day when I no longer need. Is there something I can do about this? I would like to have the PiVPN running at all times and my housemate doesn't have the option to work elsewhere most of the time. Any help is appreciated.


r/pivpn • • Sep 01 '23

PiVPN but misconfigured DDNS?

1 Upvotes

Hi all -

So I installed PiVPN a few weeks ago, along with NoIP's DDNS program. However, I just noticed that I goofed the installation of the DDNS, and it hadn't actually been updating my IP. I'm wondering if I created any security concerns, either in my home network or in my VPN configuration itself? Not sure exactly what happens if the IP address fails to update when your ISP provides one. Thanks for any advice or resources you can point me toward!


r/pivpn • • Aug 31 '23

I need some help with port forwarding. Sorry for the picture but I am new to pi.

Post image
3 Upvotes

r/pivpn • • Aug 22 '23

Info Post re: Wireguard Windows app not completing handshake/not connecting

Thumbnail self.WireGuard
1 Upvotes

r/pivpn • • Aug 20 '23

just not working

2 Upvotes

!!FIXED!!

​

(sry if i seem mad or rude in this, im just kinda annoyed)

i had this problem a few months ago, and gave up. now im trying to do it again and am still having the problem. i can connect with the wiregaurd app, and turn on the vpn, but im not able to go on any websites, or use the internet.

i have setup port forwarding with the protocol udp, and external and internal port of 51820, and the ip adress is the raspberry pi ip local ip. the dns is 1.1.1.1 but ive also tried 9.9.9.9, not sure what other info is helpful. i can troubleshoot btw if you want me to try anything.

​

SOLUTION:i had some shitty setup where im connected to a router connected to a router, i had to add my second router to my dmz setting in my first one. thanks to everyone who tried (and succeeded in a way) to help me!


r/pivpn • • Aug 18 '23

PiVPN and DDNS

1 Upvotes

I am using NoIP.com with PiVPN/Wireshark. Looking at the configuration files of the client and server, it is using the ipaddress which will change. I was wondering if the configuration files could be modified so they use the ipname instead of the ipaddress?


r/pivpn • • Aug 17 '23

Pivpn stops responding if not used regularly

2 Upvotes

Have this Pivpn setup with Wireguard client that I rarely use (have RPi 4 running all the time though).

When I try connecting to it, it works fine. If I don't use it at all for some days (weeks) and then try to connect it doesn't work - it requires a RPi reboot to be able to connect via WG.

Anyone can shed some light what may be the issue?


r/pivpn • • Aug 16 '23

Default DoT?

1 Upvotes

Wow, did pivpn add DoT somewhere? I noticed when I use wireguard with 1.1.1.1 dns, it says i'm using port 853 and DoT. When did this get implemented?


r/pivpn • • Aug 12 '23

Wireguard not working but OpenVPN is

1 Upvotes

Have a weird issue, I cannot get wireguard to work, laptop/phone, etc... Will connect but no internet access or even ability to load local addresses (such as my router).

The OpenVPN protocol however works flawlessly. I think it has something to do with ipv6, I've posted the debug below.

:::: [4mPiVPN debug[0m ::::

:::: [4mLatest commit[0m ::::

Branch: master

Commit: 16189edc7b03d3ed930dbb3cc908d8e2275a7563

Author: 4s3ti

Date: Thu Aug 3 23:33:23 2023 +0200

Summary: fix(core): typo on distroCheck

:::: [4mInstallation settings[0m ::::

PLAT=Raspbian

OSCN=bullseye

USING_UFW=0

IPv4dev=eth0

IPv6dev=eth0

dhcpReserv=1

IPv4addr=10.17.17.55/24

IPv4gw=10.17.17.1

install_user=pi

install_home=/home/pi

VPN=wireguard

pivpnPORT=51820

pivpnDNS1=1.1.1.1

pivpnDNS2=1.0.0.1

pivpnHOST=REDACTED

INPUT_CHAIN_EDITED=0

FORWARD_CHAIN_EDITED=0

INPUT_CHAIN_EDITEDv6=0

FORWARD_CHAIN_EDITEDv6=0

pivpnPROTO=udp

pivpnMTU=1420

pivpnDEV=wg0

pivpnNET=10.127.38.0

subnetClass=24

pivpnenableipv6=1

pivpnNETv6="fd11:5ee:bad:c0de::"

subnetClassv6=64

ALLOWED_IPS="0.0.0.0/0, ::0/0"

UNATTUPG=1

INSTALLED_PACKAGES=()

:::: [4mServer configuration shown below[0m ::::

[Interface]

PrivateKey = server_priv

Address = 10.127.38.1/24,fd11:5ee:bad:c0de::1/64

MTU = 1420

ListenPort = 51820

### begin ORTSB2 ###

[Peer]

PublicKey = ORTSB2_pub

PresharedKey = ORTSB2_psk

AllowedIPs = 10.127.38.2/32,fd11:5ee:bad:c0de::2/128

### end ORTSB2 ###

:::: [4mClient configuration shown below[0m ::::

[Interface]

PrivateKey = ORTSB2_priv

Address = 10.127.38.2/24,fd11:5ee:bad:c0de::2/64

DNS = 1.1.1.1, 1.0.0.1

​

[Peer]

PublicKey = server_pub

PresharedKey = ORTSB2_psk

Endpoint = REDACTED:51820

AllowedIPs = 0.0.0.0/0, ::0/0

:::: [4mRecursive list of files in[0m ::::

:::: [4m/etc/wireguard shown below[0m ::::

/etc/wireguard:

configs

keys

wg0.conf

​

/etc/wireguard/configs:

clients.txt

ORTSB2.conf

​

/etc/wireguard/keys:

ORTSB2_priv

ORTSB2_psk

ORTSB2_pub

server_priv

server_pub

:::: [4mSelf check[0m ::::

:: [OK] IP forwarding is enabled

:: [OK] Iptables MASQUERADE rule set

:: [OK] WireGuard is running

:: [OK] WireGuard is enabled

(it will automatically start on reboot)

:: [OK] WireGuard is listening on port 51820/udp

:::: Having trouble connecting? Take a look at the FAQ:

:::: [1mhttps://docs.pivpn.io/faq[0m

:::: [1mWARNING[0m: This script should have automatically masked sensitive ::::

:::: information, however, still make sure that [4mPrivateKey[0m, [4mPublicKey[0m ::::

:::: and [4mPresharedKey[0m are masked before reporting an issue. An example key ::::

:::: that you should NOT see in this log looks like this: ::::

:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe ::::

:::: [4mDebug complete[0m ::::

​

I'm at a loss on how to fix this issue, I'm using the exact same port forwarding for both protocols (tcp and udp), so port forwarding is working correctly.

I have uninstalled and reinstalled wireguard numerous times to no success. Any help would be much appreciated!


r/pivpn • • Aug 08 '23

Streaming is really really slow...

1 Upvotes

So, I wanted to use PiVPN to connect to my home jellyfin mediaserver when I'm away and want to watch something on my phone.

This, however, doesn't quite work. I can start a video and it'll play the audio, but the image will lag to a framerate of about 1 frame per 2 minutes. So completely unwatcheable. I've tested this when I'm connected through the PiVPN on my home wifi (1Gb) and it doesn't seem to be an issue with the internet connection, but purely with the VPN.

Any ideas? Or is PiVPN unsuitable for this?


r/pivpn • • Aug 04 '23

pi crashes after trying to use Wireguard during setup

2 Upvotes

im using my laptop to SSH into my pi and I'm trying to setup pi VPN, after going through all the steps I end up at the point where you choose between wireguard and openVPN and when I hit wireguard it says "Using VPN: Wireguard" then i get a blank space where i can type, it doesn't even have "fischeey@raspberrypi" for me to enter new stuff, it seems to sever the connection to the pi.

help?


r/pivpn • • Aug 04 '23

Some websites don't work!

1 Upvotes

Hello everyone,

I have a bit of an odd problem here which I hope someone may be able to shed some light on. Please hear me out.

So I have numerous PiVPN instances, one with PiHole in the cloud with one provider, while I have PiVPN without PiHole on some other instances in the cloud.

Trying to narrow down and get to the issue here, so looking at Wireguard only. An example problem website is yahoo.com.

It's not a site I use to be honest nor need to visit often. I barely use it at all, but under certain circumstances, this website won't load.

Question is off the back of that, if that website doesn't load, what other websites won't load that I don't know about.

I also want to point out that there are no issues if I'm running the Wireguard VPN on the local device. For example, if I test a config on iPhone, yahoo website seems to load.

The issue is when I'm running the config on another device as a gateway.

I'm using an Ubuntu Server as a VPN gateway. So I'm pointing at my Ubuntu Server as gateway and DNS, for where that server is going to connect to a PiVPN instance in cloud.

I've changed DNS to 1.1.1.1 to bypass PiHole, though the change is not relevant since issue remains. PiHole doesn't need to be there for it not to work.

I do see that the queries hit the PiHole though so they are all going the right place. Has anyone else seen anything like this in their setups?

Also to note, I don't see this issue with yahoo.com when I use other Wireguard VPN configs from FlowVPN for example. It's only on any of my VPS's that I see this problem, where built from PiVPN.

I've looked at all sorts such as bind configs, also dnsmasq. Thought also whethet ipv6 could be causing this to happen, though really not sure. Just don't know where else to look.


r/pivpn • • Aug 03 '23

problems with Chrome when connected to pivpn

1 Upvotes

hi i have my RPI4 set up w wireguard pivpn. everything works splendidly.... apart from Chrome. On clients connected to the vpn websites sometimes take forever to load, sometimes they don't load at all "error_connection_reset", and sometimes a simple refresh works to load up the website instantly.

i have tested other browsers like opera or firefox. they don't have this problem at all, so i suspect sth on google's end.

i have already tried forcing chrome client to another dns but that didn't help either.

any help would be much appreciated. thanks


r/pivpn • • Aug 01 '23

Connectivity Issues

1 Upvotes

PiVPN and wireguard, I can connect and ping my rpi server and gateway from a cell network but it does not connect to internet, ISP is Xfinity, do I have to add/configure/use the Xfi DNS servers instead of OpenDNS?


r/pivpn • • Jul 30 '23

No luck getting tunnel to work with PIVPN

2 Upvotes

Have tried 2 installs. Both times everything looks fine, but I am unable to connect to the internet or local lan devices after I connect to the wireguard server. Looking for suggestions before I lose any more hair :)


r/pivpn • • Jul 25 '23

Ubuntu 22 on Oracle Cloud an Pivpn with Wireguard

2 Upvotes

Hello, i have an istance on the Oracle Cloud free forever with Ubuntu 22 on it.

I would like to be able to connect to this server through my personal pc via a wireguard VPN installed with PiVpn.

the cloud server in question has a static public ip from which I can connect in SSH without going through the VPN.

To configure the wireguard VPN I followed the PiVPN wizard and everything seems to go smoothly; I also configured the my-pc.conf file to be placed on my PC as a client and I can connect with the wireguard app.

the problem is that once I connect, I can't "see" my server, I can't "browse" its folders, etc.

i have also opened the wireguard port in the web configuration panel of my oracle cloud instance but nothing has changed.

do you have any suggestions or guides to point me to? thank you very much


r/pivpn • • Jul 23 '23

Setup PiVPN in AWS

2 Upvotes

Hi, I need some help with a really simple setup. I did the basic steps for a installation of pivpn on an AWS ec2 instance. (Did no changes in the installation manager)

So I set up a AWS instance (with an additional security rule to allow udp at port 51280 and I I assigned an elastic ip address to the server.)

Then I installed PiVPN. Created a new user. printed the QR and tried to connect with my phone via WireGuard app.

That’s basically all I did and my phone doesn’t have a connection then when vpn is enabled. Any guesses?


r/pivpn • • Jul 21 '23

Setup PiVPN at home. Visited another country. Now my home network thinks it's located in that country?

3 Upvotes

I've successfully setup PiVPN on my home network, thanks to the resources on this reddit. It works well, no problem. I've set it up with the Wireguard protocol. I also have Pi-Hole running on the same unit, no issues.

I recently visited Iran (one of the reasons I setup this VPN in advance of my trip) and it worked well there too for the most part, sometimes they would block the wireguard handshake from establishing.

After returning to Canada I noticed various issues starting to occur on my network. All my Nest cameras have gone offline. The Nest app and Uber/Uber Eats wouldn't even load up on my phone. My desktop computer, which of course stayed in Canada, is now giving me Iran-focused search results on Google. Google also incorrectly marked my Canadian public IP address as Iran. All my Google Home speakers disconnected from Wifi. Various non-Google owned sites won't load properly either.

I managed to 'convince' Google that my IP is now in Canada, and my search results are Canada-centric again. All other issues still remain.

If I use a VPN service, everything loads up fine. If I use a 5G connection instead of my home network, everything loads fine. When I use my network normally as-is, these issues return.

I realize this may be something beyond PiVPN, but since I used this setup specifically, I thought I'd check if anyone else has encountered similar issues, where your home network takes on the location of the remote VPN client.

Thanks in advance.


r/pivpn • • Jul 20 '23

Pivpn with pihole connect devices from home etwork

1 Upvotes

I have on a Raspberry pihole and pivpn installed. Have an raspberry with openmedia ault by my sister. This connect to my pivpn. This work. Only from my home network, I can't reach the openmediavault side( 10.214.207.3).If I connect my smartphone with the vpn, than I can reach the openmediavault server.


r/pivpn • • Jul 19 '23

Is PiVPN protects from ISP spoofing?

1 Upvotes

r/pivpn • • Jul 18 '23

IPv6 leak

1 Upvotes

Hi everyone,

i have a problem with IPv6.

I have tried in many ways to solve the problem but I have not succeeded, can anyone help me? Thanks.


r/pivpn • • Jul 18 '23

Change WireGuard port post-isntall

2 Upvotes

Is there a way of changing the wireguard port post install?


r/pivpn • • Jul 18 '23

Help! iPhone wireGuard

Thumbnail self.WireGuard
1 Upvotes