-
-
Save cleverca22/6033beef3c659591b313267c35a849bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client | |
dev tun | |
proto udp | |
remote vpn.example.net 1194 | |
resolv-retry infinite | |
nobind | |
persist-key | |
persist-tun | |
remote-cert-tls server | |
comp-lzo | |
verb 3 | |
<ca> | |
.... | |
</ca> | |
<cert> | |
-----BEGIN CERTIFICATE----- | |
... | |
-----END CERTIFICATE----- | |
</cert> | |
<key> | |
-----BEGIN PRIVATE KEY----- | |
... | |
-----END PRIVATE KEY----- | |
</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ ... }: | |
{ | |
services = { | |
openvpn.servers.linkname = { | |
config = pkgs.lib.readFile ./clever_router.ovpn; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment