hilll
6
Hi Toby103
you can configuration reference the wireguard config.
for example, wg client config as:
root@GL-AR750S:~# cat /var/etc/wireguard.conf
[Interface]
ListenPort = 37484
PrivateKey = mK+IJ5EKUytc0Kge/4lvyH5RYIXI+EntNSlcrXfx43g=
[Peer]
PublicKey = uHz0TLd7ISx+EHwaeby6sLQMGxQH8EMI7e9QYt+lDBs=
AllowedIPs = 0.0.0.0/0,::/0
PersistentKeepalive = 25
Endpoint = 192.168.113.122:51820
the important attribute is “AllowedIPs”, it allow which ip can through the wireguard route