How to Install PiVPN on a Raspberry Pi

Опубликовано: 21 Март 2025
на канале: Sam Westby Tech
11,651
195

Here's how you can turn your Raspberry Pi into a VPN using pivpn. Leave a comment if you have any questions.

Subscribe to my channel :) https://www.youtube.com/samwestbytech...

I may earn commission if you purchase from the links below:

MY CAMERA: https://amzn.to/3reaDlK
MY MICROPHONE: https://amzn.to/3fhunSN
MY LIGHTING: https://amzn.to/3dHll1i

FREE Amazon Prime: https://amzn.to/3ren80W
FREE Audible Plus: https://amzn.to/3xYzJsR

RASPBERRY PI 4: https://amzn.to/3BC4i9I
RASPBERRY PI PICO START KIT: https://amzn.to/3REvjis
RASPBERRY PI CAMERA V2: https://amzn.to/3QFp90c
ELECTRONICS COMPONENT STARTER KIT: https://amzn.to/3qB23xg
ASSORTED SENSOR KIT: https://amzn.to/3U7M7zV
USB SPEAKER: https://amzn.to/3La4foK
USB 1080P WEBCAM: https://amzn.to/3Lq0OL7

INSTRUCTIONS
1. Access the terminal of your Raspberry Pi

2. curl -L https://install.pivpn.io | bash

3. Follow the prompts

4. Access your router and make your Pi's IP address static

5. Follow the prompts

6. Add a profile with the command
pivpn add

7. Download the Wireguard app

8. Add a tunnel from QR code
pivpn -qr

9. Enable ipv4 and ipv6 forwarding

10. Set up port forwarding on your router

0:00 Intro
0:04 What is a VPN
0:24 Instructions
5:16 Add a tunnel to the VPN





Some sounds from freesound.org
Hacker video:    • Hacking MS-DOS - #1 footage |= CINEMA...