Jack Yaz
Part of the Furniture
Hi,
I have a VPN server that allows access to my LAN. One of the devices on my LAN uses policy rules (not strict) to send all internet traffic over VPN (provided by PIA). I have found an issue that I'm not sure if it is caused by a configuration issue, or simply the way it works.
Issue: If VPN Server restarts for whatever reason, clients connected to VPN Server can no longer access the LAN resource redirected by policy rules. Connection is restored after restarting the VPN Client.
Running tracert on the device that is redirected, to a VPN Server connected client, shows 2 hops, 1 to router, 1 to device. If VPN Server is restarted, the 2nd hop is no longer the device, and is instead an IP like 10.13.10.1. tracert returns to normal on restart of VPN client.
Does anyone have any ideas, or is this just how routing works and I need to remember to restart the VPN client when the VPN Server starts? I wondered if I might be able to leverage openvpn-event script, though I'm not sure how I would determine it's a server restart calling the script.
I have a VPN server that allows access to my LAN. One of the devices on my LAN uses policy rules (not strict) to send all internet traffic over VPN (provided by PIA). I have found an issue that I'm not sure if it is caused by a configuration issue, or simply the way it works.
Issue: If VPN Server restarts for whatever reason, clients connected to VPN Server can no longer access the LAN resource redirected by policy rules. Connection is restored after restarting the VPN Client.
Running tracert on the device that is redirected, to a VPN Server connected client, shows 2 hops, 1 to router, 1 to device. If VPN Server is restarted, the 2nd hop is no longer the device, and is instead an IP like 10.13.10.1. tracert returns to normal on restart of VPN client.
Does anyone have any ideas, or is this just how routing works and I need to remember to restart the VPN client when the VPN Server starts? I wondered if I might be able to leverage openvpn-event script, though I'm not sure how I would determine it's a server restart calling the script.