summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/vpn/openvpn-server.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-29 21:32:01 +0200
committermakefu <github@syntax-fehler.de>2017-09-29 21:32:01 +0200
commit4875a39aebc2e430bff85e0cb07d76f8d8f77763 (patch)
tree19ab640b40ebc80fe95ae2be056ef0a8696184fa /makefu/2configs/vpn/openvpn-server.nix
parentd0d8d1bb645e28803b43e4e902141d3a4a858ecf (diff)
ma vpn/openvpn-server: retab
Diffstat (limited to 'makefu/2configs/vpn/openvpn-server.nix')
-rw-r--r--makefu/2configs/vpn/openvpn-server.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/makefu/2configs/vpn/openvpn-server.nix b/makefu/2configs/vpn/openvpn-server.nix
index 1e7edbf78..79754264f 100644
--- a/makefu/2configs/vpn/openvpn-server.nix
+++ b/makefu/2configs/vpn/openvpn-server.nix
@@ -1,13 +1,13 @@
{ config, pkgs, ... }:
let
- out-itf = config.makefu.server.primary-itf;
- # generate via openvpn --genkey --secret static.key
- client-key = (toString <secrets>) + "/openvpn-laptop.key";
+ out-itf = config.makefu.server.primary-itf;
+ # generate via openvpn --genkey --secret static.key
+ client-key = (toString <secrets>) + "/openvpn-laptop.key";
# domain = "vpn.euer.krebsco.de";
domain = "gum.krebsco.de";
dev = "tun0";
port = 1194;
- tcp-port = 3306;
+ tcp-port = 3306;
in {
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
networking.nat = {