Last active
November 10, 2020 10:42
-
-
Save WillSams/c59f6de32b394208b28b090edbb76ae8 to your computer and use it in GitHub Desktop.
Set up IPVanish on Raspberry PI 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script is designed to execute via the shell. Download this script on | |
# your Pi, edit the user and passwd above, execute the following commands: | |
# chmod +x ipvanish_on_raspberry_pi.sh | |
# sudo ./ipvanish_on_raspberry_pi.sh | |
# Of course, you can use this script just as a reference and type everything out. | |
# Place your ip vanish username here. For example, IPVANISHUSER=picrazy | |
IPVANISHUSER= | |
IPVANISHPASSWD= | |
apt-get install openvpn -y | |
mkdir /home/IPV && cd IPV | |
wget https://www.ipvanish.com/software/configs/ca.ipvanish.com.crt | |
cp ca.ipvanish.com.crt privacy.crt | |
wget https://www.ipvanish.com/software/configs/ipvanish-US-atlanta-atl-a01.ovpn privacy.oVPN | |
cp ipvanish-US-atlanta-atl-a01.ovpn privacy.oVPN | |
echo "$IPVANISHUSER | |
$IPVANISHPASSWD" >> pass.txt | |
echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf | |
echo "nameserver 8.8.4.4" | sudo tee -a /etc/resolv.conf | |
sudo chattr +i /etc/resolv.conf | |
# comment out current call for exit. We'll replace it later. | |
sed -i -e 's/exit 0/#exit 0/g' /etc/rc.local | |
echo "sleep 5 | |
cd /home/IPV | |
sudo openvpn --config /home/IPV/privacy.ovpn --ca /home/IPV/privacy.crt --auth-user-pass /home/IPV/pass.txt | |
exit 0" >> /etc/rc.local | |
reboot | |
Hi, Massimiliano. I only used it for a month, I unfortunately don't know enough to answer those questions. Sorry :(
thanks anyway @WillSams !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I seem to understand it uses openvpn as a client with the ipvanish servers.
How can I configure it so to have the other ipvanish client features, that is all traffic will be routed via vpn, no dns leak and make sure vpn stays up..... if at all possible with openvpn? I am happy to do the required googling but just to know if those are features at all possible. thanks!