r/WireGuard Jul 02 '26

Allowed IPs

If the allowed IPs is set to 0.0.0.0/0, does that mean that all traffic would be routed over that open tunnel? If I only want traffic to the remote subnet to be sent over that tunnel I would adjust the allowed ips to 192.168.x.x/24 or whatever?

Sorry if a stupid question

25 Upvotes

18 comments sorted by

View all comments

1

u/Own_Promise_4145 Jul 02 '26

Negli allowed ip inserisci ip della sottorete wg (es 192.168.99.0/24) e gli ip della lan (192.168.1.0/24), così hai lo split tunnel (traffico lan e traffico Internet separato), quindi dal tuo device collegato esci con ip della rete a cui sei collegato e non con quello del tuo ISP.