Caporegime
- Joined
- 21 Jun 2006
- Posts
- 38,372
https://www.ovpn.com/en/guides/raspberry-pi-raspbian
Anyone know what to do instead of this?
cd /tmp && wget https://files.ovpn.com/raspbian/ovpn-us-newyork-tcp.zip && unzip ovpn-us-newyork-tcp.zip && mkdir -p /etc/openvpn && mv config/* /etc/openvpn && chmod +x /etc/openvpn/update-resolv-conf && rm -rf config && rm -f ovpn-us-newyork-tcp.zip
if you already have the .ovpn files downloaded as per the below instructions?
https://support.surfshark.com/hc/en...3-How-to-set-up-Surfshark-VPN-on-Raspberry-Pi
i can set up the VPN as per surfshark instructions but it won't auto start on boot up and I need to put the following command
sudo openvpn /etc/openvpn/us-dal.prod.surfshark.com_udp.ovpn
changing the .ovpn file for the server i want to connect to and then also input my username then hit enter then put in the password then hit enter. so there are 3 steps i need to do manually on boot up to get the VPN to start.
I want to automate so it automatically logs into a specific .ovpn on startup which i'll name "default" and then I'll rename whatever server I want to default and rename the old default to what it was then reboot so i can switch servers that way if i need to.
surfshark is my VPN provider but OVPN seems to be the only one which has instructions for automating the process however I can't figure out how to edit their line so it uses the surfshark files
Anyone know what to do instead of this?
cd /tmp && wget https://files.ovpn.com/raspbian/ovpn-us-newyork-tcp.zip && unzip ovpn-us-newyork-tcp.zip && mkdir -p /etc/openvpn && mv config/* /etc/openvpn && chmod +x /etc/openvpn/update-resolv-conf && rm -rf config && rm -f ovpn-us-newyork-tcp.zip
if you already have the .ovpn files downloaded as per the below instructions?
https://support.surfshark.com/hc/en...3-How-to-set-up-Surfshark-VPN-on-Raspberry-Pi
i can set up the VPN as per surfshark instructions but it won't auto start on boot up and I need to put the following command
sudo openvpn /etc/openvpn/us-dal.prod.surfshark.com_udp.ovpn
changing the .ovpn file for the server i want to connect to and then also input my username then hit enter then put in the password then hit enter. so there are 3 steps i need to do manually on boot up to get the VPN to start.
I want to automate so it automatically logs into a specific .ovpn on startup which i'll name "default" and then I'll rename whatever server I want to default and rename the old default to what it was then reboot so i can switch servers that way if i need to.
surfshark is my VPN provider but OVPN seems to be the only one which has instructions for automating the process however I can't figure out how to edit their line so it uses the surfshark files