filmov
tv
OpenWRT - Site to Site VPN configuration with Wireguard
![preview_player](https://i.ytimg.com/vi/SEVb7svD3Ck/maxresdefault.jpg)
Показать описание
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:
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 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:
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!
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:
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 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:
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!
Комментарии