WireGuard VPN on Openwrt Image- Raspberry Pi 4

Level: Technical

I have bought many VPN routers for OpenVPN and WireGuard to test the speed with top VPN providers, and the total speed I get on OpenVPN protocol is 30-50Mbps and Wireguard on decent router speed getting around 120-240Mbps. It isn’t good if you have a high-end bandwidth internet connection with a high-speed VPN. However, I was a fan of GL.iNET Brume Router, which I used to get 80Mbps on OpenVPN and 280-295Mbps on WireGaurd.

So I decided to test the WireGaurd Client on OpenWrt on raspberry pi and I have prepared a Openwrt image to write on the SD/USB card and insert it to the Raspberry Pi 4 then go to browser and type the IP address, that it!!.

The Image can be download from this link. this will save you time to install and settings up your setup from the scratch.

Options below (I chose second option)

  1. RaspAP with the raspberry pi wireless access point (This option is good, but Raspberry pi Wireless is weak)
  2. OpenWrt with WireGaurd on raspberry pi with two Ethernet card. One ethernet0 card is built-in (This card will connect with an Access point or computer) and the other ethernet1 card bought from Amazon (WAN connection from your ISP): click here, and the driver can be found here. follow more on his URL: https://www.youtube.com/watch?v=TsOpO6O4xDE

I have complied all the settings for OpenWrt snapshot with WireGuard client, firewalls, Cloudflare DNS for DNS leak into the image file, which can be rewritten on the SD/USB card for use. Win32Image free open source software will help to achieve this goal. Then insert an SD card or USB drive into the Raspberry Pi 4. Please remember this image only compatible with Raspberry Pi 4 B.

Image Zip file contains are: Password.txt, Openwrt Image and Log files

Steps:

  1. Burn the image to SD card from Win 32 Disk Imager
  2. Insert the SD card into the Raspberry Pi4 and boot the Raspberry Pi 4
  3. Go to the browser and type IP: 192.168.2.1 and password from the password.txt file
  4. then set up your Wire Guard client account from the Network > interface > WireGaurd
  5. That’s it

IP address: 192.168.2.1 – SSH is enabled and credentials are in password.txt file.

Reference URLs:

  1. Win32 Disk imager: https://www.youtube.com/watch?v=tiCCoBiW4E4
  2. https://www.youtube.com/watch?v=TsOpO6O4xDE or https://www.youtube.com/watch?v=CB0mUo51lv8
  3. https://openwrt.org/packages/pkgdata/kmod-usb-net-rtl8152
  4. AdGuard home: https://github.com/AdguardTeam/AdguardHome/wiki/Encryption#register
  5. List: https://firebog.net/
  6. https://github.com/AdguardTeam/AdGuardHome/wiki/Raspberry-Pi

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *