OpenWRT - Site to Site VPN configuration with Wireguard @VanTechCorner
OpenWRT - Site to Site VPN configuration with Wireguard  @VanTechCorner
Uploaded September 2020 | Updated November 2026, 1 day ago
In this video, we are going to configure site to site VPN with Wireguard, of course it is on OpenWRT. This will enable network devices from LAN of 2 sites to communicate with each other. (by default, a device from client side's LAN can only comminicate with the server side's gateway and vice versa.) Someone is calling it "LAN to LAN VPN" but I am just following OpenWRT document to name the video.
Basically, you just need to assign the Wireguard interface to LAN Firewall Zone and add the client side LAN IP range to the Wireguard server allowed IPs and vice versa.
The video is focusing on the site to site routing configuration, for a detail installation guide of the Wireguard server and Wireguard client, please have a look at the below videos:
- Wireguard server on OpenWRT: youtube.com/watch?v=BKdPWOXD75I
- Wireguard client on OpenWRT: youtube.com/watch?v=0_zQAp3V18c

On the Client side router, if you want to route only the server side LAN traffic to the tunnel and the rest of the traffic will be routed to the WAN interface, remove 0.0.0.0/0 and ::/0 from the Allowed IPs range and only left the server side's LAN IPs 192.168.1.0/24
Or, you can run the below script on your Client router:

uci del_list network.wgserver.allowed_ips="0.0.0.0/0"
uci del_list network.wgserver.allowed_ips="::/0"
uci commit network
/etc/init.d/network restart


Video timeframe:

00:00 - Site to Site VPN with Wireguard introduction
02:15 - Before the site to site routing configuration
03:37 - Wireguard site to site configuration on OpenWRT / CLI
07:01 - Check and troubleshooting
09:40 - Final words
10:06 - Small tip about OS's firewall

Link to the user guide:
- Wireguard Server: openwrt.org/docs/guide-user/services/vpn/wireguard/server
- Wireguard Client: hopenwrt.org/docs/guide-user/services/vpn/wireguard/client
- Extra Configuration: openwrt.org/docs/guide-user/services/vpn/wireguard/extras

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!
OpenWRT - Site to Site VPN configuration with WireguardOpenWrt - HP 10GBase-T Flex IO (56Q71AA) NIC Testing (with HP EliteDesk 805 G8)OpenWrt  - Testing AsiaRF AW7916-NPD WiFi 6E on x86 Computer (Compaq Elite 8300 SFF)2Gbps WiFi Throughput with GL-iNet Beryl AX (GL-MT3000)OpenWRT - Install & Configure USB to Ethernet Adapter - Raspberry PiNanoPi R6S - 2.35Gbps Throughput with only 5W of Power ConsumptionFriendlyElec NanoPC-T6 Overview & Quick TestIntel N5105 4 x 2.5G Ethernet Router PC (Intel I225-V) - Unboxing & Quick OverviewOpenWRT 10Gbps - HP t620 Plus &  Dell QLogic 57810S Dual SFP+ AdapterBanana Pi BPI-R4 Review: Unboxing, Setup, 10GbE &  WiFi 7 6GHz TestsGL-iNet Flint 2 - WiFi 6 AX6000, 2.5GbE Router - Overview, Setup and Speed TestOpenWRT - AP Client /Wireless Client mode with LuCI & Command Line
Van Tech Corner |

OpenWRT - Site to Site VPN configuration with Wireguard

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER