PiVPN will encrypt your internet browsing from prying eyes!

Опубликовано: 26 Май 2026
на канале: LoRes DIY
3,411
104

Access your homelab from anywhere, and encrypt your internet browsing while on the go with PiVPN in a Proxmox container.

Open a tunnel in the shell of the proxmox host got to

cd /etc/pve/lxc

EDIT THE XXX.conf files and add the following line at the end

lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

DuckDNS Website = https://www.duckdns.org/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Install PiVPN

apt install curl python -y

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

reboot

Create a user

pivpn add

cd /home/USERNAME/ovpns

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Start a simple server

python -m SimpleHTTPServer 8080

After downloading the certificate stop the simple server

Ctrl + c

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Open a port to the PiVPN server

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Install Openvpn on the hardware you want to use

OpenVPN Website = https://openvpn.net/