Open nbauernfeind opened 10 months ago
same thing happen to me
Tested and successfully replicated on macOS Monterey 12.7.4 (21H1123) and it seems that "File exists" is not considered an error by the route command, causing OpenVPN to incorrectly believe that it has added the route (which then leads to the erroneous removal of the pre-existing route). An idea could be to parse the output of the route command and mark it as an error. What do you guys think? @cron2 @schwabe
Description: If I connect to the vpn from inside of the vpn network, then the routing table is left broken after disconnect.
To Reproduce:
10.10/22
:en0
route is completely missingNote that if I connect once more, it successfully adds the route to
utun5
:Expected behavior: When disconnecting from the vpn, only remove routes that belong to the
utun
interface. One could argue they want the vpn route to actually go through the vpn while connected and then restore the original route when disconnected.Work around: Bounce wifi/network connection to reestablish proper routes through
en0
. (Also, don't connect to vpn from said network... but in this particular case I forgot to disconnect from the vpn while I was still away from home.)Desktop:
I'm not sure how to tell what version of OpenVPN the synology server is running.