WD Community

Default Gateway configuration on the EX-4100 NAS

Good Day everyone,

When I set up an OpenVpn client connection on the Lan1 network, I have no problem accessing the EX-4100 NAS, but I do not have access to the EX-4100 NAS when I set up another OpenVpn client connection on the Lan2 network.

If I change the Default Gateway configuration on the EX-4100 NAS to LAN 2, the problem is reversed (see red rectangle).
The choice on the EX-4100 NAS is only LAN 1 or LAN 2.
I tried static instead of DHCP, but that doesn’t change anything.

I don’t know if I can fix this problem via the Asus RT-AX88U (Lan1) and Asus Rt-AX58U (Lan2) routers.

The NAS is easily accessible on each network via a direct LAN connection.

I made a small diagram that I hope could help you better understand my explanation and thus solve my problem.

Thank you in advance.

Fernand

I have played with OpenVPN and NAS units with ASUS routers; but not with a NAS that has dual network connections.

I am going to take a few shots in the dark here. . .

I am betting the core of the problem is that a PC on a OpenVpn connection will be on a different subnet than the other machines on the network. I bet the “non-default” gateway is filtering network interfaces; allowing local LAN traffic and ditching WAN (or VPN) traffic.

I recently worked on this problem in my Asus router where I could block ALL traffic to the NAS from the Client Status page; but I couldn’t seem to block it from Network Services Filter. My next step will be to install Merlin on the router; and learn more about the linux IPTABLES commands. The problem here smells much like an iptables issue within the NAS software :wink:

So things to try: Turn on Link aggregation. Turn on LLTD (Link Layer Topology).

PS: If this advice doesn’t work: Just remember you get what you pay for :wink:

PPS: I would assign static IP from the router, not the NAS itself. That way, if you do something crazy (like put in a new router with different IP address assignments) you won’t lose access to the NAS

1 Like

Thanks NAS_user for your answer.
I had already assign a static ip on my routers without much success.

Thank you
Fernand

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.