# Wireguard

# Nord VPN Configuration

#### Whitelist Local IP's

After installing and nordvpn we need to whitelist the local subnets if we need to transfer files while being on the tunnel.

```bash
nordvpn whitelist remove all
nordvpn whitelist add subnet 192.168.0.0/16
```

This will generally work now. But if now we also need to route with iptables

```bash
ip route add 192.168.2.0/24 via 192.168.252.1
```

**Reference:**

[https://old.reddit.com/r/nordvpn/comments/xsbil0/linux\_whitelist\_subnet\_not\_working/](https://old.reddit.com/r/nordvpn/comments/xsbil0/linux_whitelist_subnet_not_working/ "https://old.reddit.com/r/nordvpn/comments/xsbil0/linux_whitelist_subnet_not_working/")