Create a VPN on a Raspberry Pi

MD
S
Markdown

Step-by-step guide to set up a personal VPN server using a Raspberry Pi, enhancing privacy and security for remote network access.

1RASPBERRY VPN
2Based pon: https://pimylifeup.com/raspberry-pi-vpn-server/
3================
4
51. Preferences > Raspberry Configuration > Interfaces > SSH: enable
6
72. Install PiVPN
8curl -L https://install.pivpn.io | bash
9
102.1 Follow all defaults
112.2 Installation Mode: OpenVPN
122.3 Protocol: UDP / Port: 1194
132.4 DNS Provider: Google
142.5 Custom Domain: OFF
152.6 Public IP: OK
162.7 Elliptic Curves: NO
172.8 RSA Certificate Size: 2048
182.9 Diffie Helmen parameters: YES
192.10 Unatended Upgrades / Security Patches: YES
202.11 Reboot
21
223. Setup VPN User
23sudo pivpn add
24
25User: "xpto"
26Certificate: 1080
27Password: portugal
28
29Generated: "xpto.ovpm"
30
314. Open por 1194 on your Internet Facing ISP router
32
33
34MACOS VPN CLIENT
35==============
36TunnelBlick

Created on 3/12/2020