After this we can go to Firewall ‣ NAT ‣ Outbound and add a rule. Check that rule generation is set to manual or hybrid. Add a rule and select your WAN as Interface. Source should be the Tunnel Network you use and Translation / target set to WAN address.Now when you add 0.0.0.0/0 on your road warrior, outgoing packets are translated and reach the Internet via your VPN.
- Firewall: NAT: Outbound --> Hybrid Manual rules: Interface -> WAN : Source address -> wg0 address : Translation -> WAN address
- WireGuard Local Configuration: Name -> WireGuard : die erstellten Keys : Port 51820 : DNS -> Pi-Hole im LAN : Tunnel Address -> 10.0.10.1/32 : Peers -> ausgewählt