Using Wireguard, what should AllowedIPs be set to in order to create a split tunnel?

Hello everyone,

I’ve downloaded a WireGuard configuration file and I’m trying to modify it to route only specific traffic through the VPN. I’ve changed the AllowedIPs to 10.2.0.0/24, but when I bind an application to 10.2.0.2, no traffic seems to flow. I can resolve DNS queries on 10.2.0.1, but data doesn't flow beyond that point.

Is there something else I need to use for the AllowedIPs option in the configuration file?

Thanks!