I am trying to troubleshoot an issue where im not able to connect to an additional network
My Setup:
OpenWRT: 192.168.1.0/24 - Running a wireguard VPN (Nord) connected tplink router from Wan to Lan
TPLink: 192.168.0.1/24 Running my main network connect to openwrt from Lan to wan
Im not able to access the other subnet from the either network. I have added static routes on both sides making sure I specify the correct interface (tplink - 192.168.1.0/24 - LAN) (OpenWRT 192.168.0.0/24 WAN)
OpenWRT serves as a VPN router to encrypt my traffic with NORDVPN. I use it for work.
TPLink Serves the rest of my residence for all Devices (Clients, cameras, lights, tv, ect, pihole, ect)
I have a NAS on my tplink network I want to be able to access from my openwrt network.
Im beginning to suspect that NORD, how i have it configured isn't going to pass traffic from the wan to the lan. but, im not sure. If anyone could help me, that would be awesome.
Thanks for taking the time to read and reply to my issue.
You've connected TP-Link LAN -> OpenWrt WAN. By default, the WAN is NAT'd and firewalled, so it will not allow incoming connections. You will need to disable NAT on the OpenWrt device and then allow forwarding from wan zone > lan zone on the OpenWrt firewall. If you put your VPN into the wan zone, you will need to move that to its own zone with NAT enabled.
You'll also need to add a static route to your TP-Link router's configuration. If that feature is not supported/exposed, you will not be able to achieve your goals.
I am able to add routes to my tplink router, but when I disable masquerade on the opwnwrt side, i lose connectivity. I have created fowarding zone and added routes. but it's not working.
Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
cat /etc/config/network
cat /etc/config/firewall
And also please show how you added the route on the TP-Link router.
Your wan zone should not include the lan network... remove lan from this:
Your route is wrong... it should have the default gateway as 192.168.0.2 (which is the address of the WAN of your OpenWrt router).
This should not be necessary because the route is already known (as the WAN/default route), but if you are running a VPN, I could see where this might become necessary. The preferred method would be to use policy based routing.
These changes should allow things to work once masquerading is disabled. The VPN is not shown, though -- I'm not sure how that factors into things.
192.168.0.2 is a dhcp/dns appliance. my OpenWRT router is 192.168.1.1. I am not sure where it's showing my OpenWRT Router is 192.168.0.1 & 192.168.1.10 (assigned)
I wiped the VPN to get this working first to alleviate extenuating complications.
i applied the settings suggested and it knocks out internet connectivity.