Uploaded September 2020 | Updated November 2026, 1 day ago
In this video, we are going to setup WireGuard Server on OpenWRT and configure another OpenWRT router as WireGuard client. This video will take you through the WireGuard configuration, public key infrastructure (PKI) generation and firewall setup. The OpenWRT's WireGuard server is directly connected to the internet and has a static public IP adress, thus no NAT and dynamic DNS is required. You may need to configure this if we are not in the same case.
In order to set up the server and one client, you will need have or create the following:
- Client private key and Client public key (generated from client private key)
- Server private key and Server public key (generated from server private key)
- Pre-shared key per client
The server will need the client public key and vice versa.
Video timeframe:
00:00 - Introduction about WireGuard server and client router
01:45 - WireGuard server installation
02:45 - Public Key Infrastructure (PKI) file generation for WireGuard server
04:48 - Public Key Infrastructure (PKI) file generation for WireGuard client
06:13 - Transferring client public key to WireGuard server
07:50 - Firewall configuration for WireGuard server
08:22 - Network interfaces and VPN peers configuration for Wireguard server
09:10 - Configure Wireguard client on OpenWRT router
14:30 - Test, troubleshooting and final words
Detail guide on WireGuard client setup with OpenWRT: youtube.com/watch?v=0_zQAp3V18c
WireGuard user guide: openwrt.org/docs/guide-user/services/vpn/wireguard/server
Check out other OpenWRT tutorials on my channel.
If there is anything not clear or there is any question, feel free to leave it in the comment section and we can discuss.
As always, please like, share and subscribe to the channel to support me. Thank you!
In this video, we are going to setup WireGuard Server on OpenWRT and configure another OpenWRT router as WireGuard client. This video will take you through the WireGuard configuration, public key infrastructure (PKI) generation and firewall setup. The OpenWRT's WireGuard server is directly connected to the internet and has a static public IP adress, thus no NAT and dynamic DNS is required. You may need to configure this if we are not in the same case.
In order to set up the server and one client, you will need have or create the following:
- Client private key and Client public key (generated from client private key)
- Server private key and Server public key (generated from server private key)
- Pre-shared key per client
The server will need the client public key and vice versa.
Video timeframe:
00:00 - Introduction about WireGuard server and client router
01:45 - WireGuard server installation
02:45 - Public Key Infrastructure (PKI) file generation for WireGuard server
04:48 - Public Key Infrastructure (PKI) file generation for WireGuard client
06:13 - Transferring client public key to WireGuard server
07:50 - Firewall configuration for WireGuard server
08:22 - Network interfaces and VPN peers configuration for Wireguard server
09:10 - Configure Wireguard client on OpenWRT router
14:30 - Test, troubleshooting and final words
Detail guide on WireGuard client setup with OpenWRT: youtube.com/watch?v=0_zQAp3V18c
WireGuard user guide: openwrt.org/docs/guide-user/services/vpn/wireguard/server
Check out other OpenWRT tutorials on my channel.
If there is anything not clear or there is any question, feel free to leave it in the comment section and we can discuss.
As always, please like, share and subscribe to the channel to support me. Thank you!










