diff options
author | Profpatsch <mail@profpatsch.de> | 2017-09-01 16:52:01 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2017-09-01 17:10:42 +0200 |
commit | 95adeb4b4df6cb5f610b1aac449552f63aab20f0 (patch) | |
tree | 84375c16d8f47175876fc2a5ddc8a0bd7664124e /machines | |
parent | 8ad5edeab743b13986ef38c194f6d592b03d6798 (diff) |
haku: add static vpn interface
Diffstat (limited to 'machines')
-rw-r--r-- | machines/profpatsch/haku.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix index b05ce485..20ed1cf4 100644 --- a/machines/profpatsch/haku.nix +++ b/machines/profpatsch/haku.nix @@ -95,6 +95,14 @@ in package = myPkgs.searx; }; + services.openvpn.servers.hakuserver = { + config = '' + dev tun + ifconfig 10.20.30.40 10.20.30.41 + secret /root/static-vpn.key + ''; + }; + networking = { hostName = "haku"; firewall = { |