I have a Debian 11 system that has been configured to connect to a remote network via VPN. This has been functioning fine for a long time (since Debian 9).
Recently, the remote network made some changes that broke my access to some sites when I was connected via the VPN. While discussing the issue with the people responsible for the remote network, they suggested I make sure my vpnc-script
was updated, since that script is responsible for setting up the routing table.
After some additional debugging, I discovered when I start openconnect
from the command line, the routing table gets set correctly, but when I start the VPN from the Network Manager GUI in Gnome, the routing table is missing many entries.
It appears that the vpnc-script
is not getting run when I start the VPN from Network Manager. The Network Manager VPN configuration dialog has no option for setting this script. I have been trying to locate the Network Manager location that controls this, but I have not found it yet.
Where can I go in my Debian 11 Network Manager configuration to make sure the vpnc-script
gets run to set up the routing table?