Now trying to set site to site type VPN connection to my WG server on UNIFI UDMPRO.
When i setup WG client on RUT241 all internet traffic is routed trough my main network. I can ping from RUT to WG and main LAN without any problems but from main LAN i can only ping to WG and RUT’s wg IP, not to RUT’s LAN.
I want to be able use local RUT internet and route only some devices internet and all RUT LAN to my main LAN. Same way, from my main LAN reach RUT’s LAN.
Now googling around found that it used to be available package “VPN-policy-routing” but it is not available anymore and manual way to install from temp does not work either.
Firstly, please check your Firewall zones on RUT241 and ensure that traffic from WG zone is allowed to LAN. Edit WG zone and add LAN to ‘Allow forward to destination zones’.
Also, make sure that your UNIFI has a route to the RUT241 LAN via WG.
It seems that you also want to split WG traffic on RUT241. If so, please take a look at this post here.