Beruflich Dokumente
Kultur Dokumente
RASPBERRY PI
Assuming you already have the PI setup with an IP address and connected to the network (I have
PI connected to the local network through a wire – eth0). You would do the following
configuration.
nano /etc/sysctl.conf
net.ipv4.ip_forward = 1
Download the ExpressVPN installer file to pi. Install and activate using the command
You get the activation code from the Downloads page on ExpressVPN when you download the
ExpressVPN installer for PI.
expressvpn list
expressvpn disconnect
expressvpn connect
At this point, you should have the PI connected to the VPN and ready to accept connections from
your LAN devices. All that is left to do is to use the PI’s IP as the default gateway for devices that
need a VPN connection (in my case, I point the Apple TV to use the VPN)
Lan is - 192.168.1.0/24
Firewall - 192.168.1.1
PI - 192.168.1.5
Apple TV - 192.168.1.10; Default GW 192.168.1.5
You could also set the PI to provide your the ExpressVPN DNS to your LAN devices by
This ensures your DNS queries do not go leaking to your ISP. Don’t forget to set the DNS on your
devices that need a VPN connection to the PI IP.
BLOG AT WORDPRESS.COM.