Skip to content

Commit

Permalink
docs: update with new passthrough format
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloegea committed Nov 8, 2024
1 parent b954585 commit 8addc9a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 28 deletions.
44 changes: 25 additions & 19 deletions doc/netplan-everywhere.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,14 @@ network:
uuid: "0f7a33ac-512e-4c03-b088-4db00fe3292e"
name: "Ethernet connection 1"
passthrough:
ethernet._: ""
ipv4.ignore-auto-dns: "true"
ipv6.addr-gen-mode: "default"
ipv6.method: "disabled"
ipv6.ip6-privacy: "-1"
proxy._: ""
ethernet: {}
ipv4:
ignore-auto-dns: "true"
ipv6:
addr-gen-mode: "default"
method: "disabled"
ip6-privacy: "-1"
proxy: {}
```
All the configuration under the `passthrough` mapping is added to
Expand All @@ -126,17 +128,21 @@ network:
uuid: "db5f0f67-1f4c-4d59-8ab8-3d278389cf87"
name: "myvpnconnection"
passthrough:
connection.type: "vpn"
vpn.ca: "path to ca.crt"
vpn.cert: "path to client.crt"
vpn.cipher: "AES-256-GCM"
vpn.connection-type: "tls"
vpn.dev: "tun"
vpn.key: "path to client.key"
vpn.remote: "1.2.3.4:1194"
vpn.service-type: "org.freedesktop.NetworkManager.openvpn"
ipv4.method: "auto"
ipv6.addr-gen-mode: "default"
ipv6.method: "auto"
proxy._: ""
connection:
type: "vpn"
vpn:
ca: "path to ca.crt"
cert: "path to client.crt"
cipher: "AES-256-GCM"
connection-type: "tls"
dev: "tun"
key: "path to client.key"
remote: "1.2.3.4:1194"
service-type: "org.freedesktop.NetworkManager.openvpn"
ipv4:
method: "auto"
ipv6:
addr-gen-mode: "default"
method: "auto"
proxy: {}
```
20 changes: 11 additions & 9 deletions doc/netplan-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -2146,15 +2146,17 @@ network:
uuid: "db5f0f67-1f4c-4d59-8ab8-3d278389cf87"
name: "myvpnconnection"
passthrough:
connection.type: "vpn"
vpn.ca: "path to ca.crt"
vpn.cert: "path to client.crt"
vpn.cipher: "AES-256-GCM"
vpn.connection-type: "tls"
vpn.dev: "tun"
vpn.key: "path to client.key"
vpn.remote: "1.2.3.4:1194"
vpn.service-type: "org.freedesktop.NetworkManager.openvpn"
connection:
type: "vpn"
vpn:
ca: "path to ca.crt"
cert: "path to client.crt"
cipher: "AES-256-GCM"
connection-type: "tls"
dev: "tun"
key: "path to client.key"
remote: "1.2.3.4:1194"
service-type: "org.freedesktop.NetworkManager.openvpn"
```

## Back end-specific configuration parameters
Expand Down

0 comments on commit 8addc9a

Please sign in to comment.