OpenVPN tunnel established but not passing traffic after WAN IP change
I have a TP-Link ER7206 router, which was hosting an OpenVPN tunnel for my personal use and it was working fine over the years. Unfortunately, my ISP changed my public IP address. Of course, the new IP is already updated in the router (DHCP reneved it), I generated a new .ovpn profile (yes, it has the new address), and even recreated the entire tunnel from scratch. Still, the same issue persists: the tunnel establishes correctly, I receive an IP address on the client, and I can see the session on the server. However, there is no connectivity – I can't ping the LAN addresses from the client side, nor can I ping the client's assigned IP from the router.
The only thing I've managed to determine on my own is that the problem is likely related to routing on the server side. According to the configuration, the tunnel assigns IP addresses in the 10.5.8.0/24 range, and the client was assigned 10.5.8.6. However, in the router's routing table, I can see a static route: 10.5.8.2 255.255.255.255 0.0.0.0 tun_server2
As mentioned, the tunnel was working fine before. The only thing that changed is the WAN IP. Ports shouldn’t be an issue since the tunnel still establishes. So, what could have caused this to stop working?
here is the configuration of my tunnel:
here are my clients:
and mentioned part of routing table:
.ovpn profile (part, with blurred WAN IP)