vpn: formatting fixes

This commit is contained in:
2024-12-08 23:12:50 +00:00
parent 04283627c0
commit 9d32e199ea

View File

@@ -22,7 +22,7 @@
# 3. to apply a VPN to internet traffic selectively, just proxy an applications traffic into the VPN device # 3. to apply a VPN to internet traffic selectively, just proxy an applications traffic into the VPN device
# 3a. use a network namespace and a userspace TCP stack (e.g. pasta/slirp4netns). # 3a. use a network namespace and a userspace TCP stack (e.g. pasta/slirp4netns).
# 3b. attach the VPN device to a bridge device, then connect that to a network namespace by using a veth pair. # 3b. attach the VPN device to a bridge device, then connect that to a network namespace by using a veth pair.
# 3c. juse use `bunpen`, which abstracts the above options. # 3c. just use `bunpen`, which abstracts the above options.
{ config, lib, sane-lib, ... }: { config, lib, sane-lib, ... }:
let let
@@ -141,8 +141,8 @@ let
Name = name; Name = name;
}; };
wireguardConfig = { wireguardConfig = {
PrivateKeyFile = privateKeyFile;
FirewallMark = fwmark; FirewallMark = fwmark;
PrivateKeyFile = privateKeyFile;
}; };
wireguardPeers = [ wireguardPeers = [
({ ({