Hi, I've installed OpwnWRT on a TP-Link Archer C7 Wifi router. I set it up in bridge mode and it's working just fine as a wireless access point. Now I want the traffic that goes through it from the mobile devices in the house to go through a VPN.
I followed the setup instructions for Nord VPN at https://support.nordvpn.com/Connectivity/Router/1047411192/OpenWRT-CI-setup-with-NordVPN.htm. The VPN connection is getting set up and I can see from the logs on the TP-Link that it's getting an IP address in the UK (I'm connecting to a Nord VPN UK server):
Thu Jan 9 07:04:52 2020 daemon.notice openvpn(nordvpn)[6179]: /sbin/ifconfig tun0 10.8.0.27 netmask 255.255.255.0 mtu 1500 broadcast 10.8.0.255
Thu Jan 9 07:04:52 2020 daemon.notice openvpn(nordvpn)[6179]: /sbin/route add -net 178.239.160.204 netmask 255.255.255.255 gw 192.168.0.254
Thu Jan 9 07:04:52 2020 daemon.notice openvpn(nordvpn)[6179]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
Thu Jan 9 07:04:52 2020 daemon.notice openvpn(nordvpn)[6179]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
Thu Jan 9 07:04:52 2020 daemon.notice openvpn(nordvpn)[6179]: Initialization Sequence Completed
But my mobile devices are still showing with an Australian IP address when I look at whatismyipaddress.com. So it looks like the mobile device traffic isn't getting routed through the VPN. Is this because the TP-Link is in bridged mode, or have I misconfigured somewhere? I have this in /etc/config/firewall:
config zone
option name 'vpnfirewall'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'nordvpntun'
config forwarding
option src 'lan'
option dest 'vpnfirewall'
Thanks in advace for any help.