Closed
Description
When I use vpn-slice + openconnect in the background, I observe some bad behaviour: the presence of any hostname arguments for vpn-slice
appears to eliminate the effect of vpn-slice.
sudo openconnect --background -s "vpn-slice 10.0.0.0/8 example.com"
# => Does not update /etc/hosts
sudo openconnect --background -s "vpn-slice 10.0.0.0/8"
# => Updates /etc/hosts, but not for the hostnames that I need to specify manually
sudo openconnect -s "vpn-slice 10.0.0.0/8 example.com"
# => Updates /etc/hosts, including the hostnames that I need to specify manually
# ...but this does not move to the background
I don't want to leave a terminal open for this; I want to run this in the background. I've even tried using sudo setsid openconnect
(with --passwd-on-stdin
) instead of using --background
, but the effect is the same.
Metadata
Metadata
Assignees
Labels
No labels