In case it's useful to anyone else, here's the commands I'm running to
start/stop my VPN, without making any changes to the strongswan config, and
work around the issues above.
Start VPN:
sudo systemctl restart systemd-networkd.service # to avoid the error Unit
dbus-org.freedesktop.network1
FYI - Tobias wasn't keen on the dummy interface option, per his response here
https://github.com/strongswan/strongswan/discussions/2085#discussioncomment-9678750
(though maybe that is a good option, but dnsmasq needs to be changed to suit
it?)
I also hit a problem where a server I wish to access
Thanks for creating the bug, and your input :)
I agree with all your comments (though can't speak for your last message, I'm
not getting strongswan-starter for some reason and I don't know anything about
ansible) - but
1. I'm assuming we shouldn't need to edit /etc/strongswan.d/charon/resolve.co
I'm still digging on this one - the error
Activation via systemd failed for unit 'dbus-org.freedesktop.network1.service':
Unit dbus-org.freedesktop.network1.service not found
seems to be related, for me, to the networkd service not starting properly -
not sure why:
#: john@j4lt:/etc/strongswan.
@Marukus, it's just a file I created (in my home directory, but could be
anywhere you've got write permissions) to hold the info I wanted to push
into resolvconf. I took the nameservers out of the output of swanctl -
and added some search paths as examples (so that I can type "ssh blah"
and have i
My workaround is to push in the dns config manually to the current interface,
eg
#: john@j4lt:~ ; cat dns.conf
nameserver 172.18.1.1
nameserver 172.18.1.2
search servers.mydomain.com mydomain.com
#: john@j4lt:~ ; sudo resolvconf -a wlp82s0 < dns.conf
But clearly that's a hack, won't be automati
I'm seeing the same behaviour, though my ubuntu version seems murky. On the
weekend I upgraded from 22.04 LTS to 23.10 - which yes, uninstalled resolvconf,
and this bug appeared.
However - in case it's relevant, my network-manager packages don't all match
what some webpages tell me I should have
Just adding my support to those rallying for change on this issue.
I tried colas' script in the background, but whilst it does report that
it's resetting location-mode, it doesn't seem to be solving the problem
for me (on Jammy Jellyfish).
I also noticed there's another schema/key,
org.gtk.gtk4.