See my previous approach using tor

This time I setup Openvpn on my server

  1. Just use this script Openvpn-install.sh on the server
  2. Now import client profiles in raspberry pi
  3. Copy the .ovpn file to /etc/openvpn and rename as .conf
  4. Setup raspberry pi to connect to vpn using this command
    nano /etc/default/openvpn
    AUTOSTART="servername" //Here servername is the name of client profile 
    
  5. Now just reboot and everything should work