## 1. Preparing the Image and Flash Drive 1. **Downloading and Extracting the Image** * **Download the System Image** designed for installation on the Raspberry Pi. The official Raspberry Pi OS images is available [here](https://www.raspberrypi.com/software/). If the image is compressed in a `gzip` archive, extract it. * Extract the Image on **Linux** or **macOS**: ```bash gunzip /path_to_image/image_name.gz ``` * On **Windows**, you can use utilities like [7-Zip](https://www.7-zip.org/) to extract the image. 2. **Writing the Image to a Flash Drive** Use a utility such as [Etcher](https://etcher.balena.io/) or [Rufus](https://rufus.ie/en/) to write the image to the flash drive. Most utilities will recognize the image format and correctly write it to the device. ## 2. Connecting Raspberry Pi and Initial Setup 1. **Insert the Flash Drive**: Connect the flash drive to your Raspberry Pi and insert it into the device. 2. **Connect to the Internet**: Connect your Raspberry Pi to the internet using an Ethernet cable. 3. **Boot the Raspberry Pi**: Start the Raspberry Pi. Upon startup, the device will automatically create a Wi-Fi network named `KelVPN-Proto-3` with the password `Ingibitor@230`. ## 3. Connecting to Raspberry Pi 1. **Connect to the Wi-Fi Network**: Connect to the `KelVPN-Proto-3` Wi-Fi network using the password `Ingibitor@230`. Alternatively, connect to the same network that the Raspberry Pi is connected to via Ethernet. 2. **Attempt to Connect via Hostname**: ```bash ssh -YC [email protected] ``` * Password: `kelvpn` If the connection fails: * **Connect via IP Address over Wi-Fi**: ```bash ssh -YC [email protected] ``` * **Connect via Ethernet**: Find the Raspberry Pi's IP address in your router's settings and connect to it via SSH with X11 forwarding. ## 4. Launching KelVPN 1. **Start the KelVPN Application**: ```bash /opt/kelvpn/bin/KelVPN ``` 2. **Setting up KelVPN**: - Upon first connection, open the application settings. - Reset the device serial number and enter your new serial number. - Select a server to connect to. For users in Russia, the Poland server is currently recommended. 3. **First Connection**: * After your first connection to the server, it is recommended to wait 10-15 seconds. Sometimes the connection might drop; if that happens, reconnect. After this, the connection should remain stable. ## 5. Managing and Stopping KelVPN - **Stopping KelVPN:** - The KelVPN application is just the frontend. The backend will continue running even after closing the application. - If you need to restart or reconnect, simply launch the application again and reconnect to the server. Your Raspberry Pi is now configured to work with KelVPN. You can use it for secure internet connections through the selected server.