Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created July 15, 2019 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/85cd9782b24e2fbc348bec8a435a8297 to your computer and use it in GitHub Desktop.
Save grahamc/85cd9782b24e2fbc348bec8a435a8297 to your computer and use it in GitHub Desktop.
$ sudo cat /etc/NetworkManager/system-connections/foo.nmconnection
[sudo] password for grahamc:
[connection]
id=foo
uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
type=vpn
autoconnect=false
permissions=
[vpn]
gateway=x.xx.xx.xxx
ipsec-enabled=yes
ipsec-esp=3des-sha1!
ipsec-ike=3des-sha1-modp1024!
ipsec-psk=0sbase64encodedsctringgoeshere
mru=1400
mtu=1400
password-flags=0
user=graham@xxxxxxxxxxxxx
service-type=org.freedesktop.NetworkManager.l2tp
[vpn-secrets]
password=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment