Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created June 27, 2017 20:23
Show Gist options
  • Save cleverca22/6033beef3c659591b313267c35a849bd to your computer and use it in GitHub Desktop.
Save cleverca22/6033beef3c659591b313267c35a849bd to your computer and use it in GitHub Desktop.
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>
{ ... }:
{
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