ma vpn/openvpn-server: retab
This commit is contained in:
parent
d0d8d1bb64
commit
4875a39aeb
@ -1,13 +1,13 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
out-itf = config.makefu.server.primary-itf;
|
out-itf = config.makefu.server.primary-itf;
|
||||||
# generate via openvpn --genkey --secret static.key
|
# generate via openvpn --genkey --secret static.key
|
||||||
client-key = (toString <secrets>) + "/openvpn-laptop.key";
|
client-key = (toString <secrets>) + "/openvpn-laptop.key";
|
||||||
# domain = "vpn.euer.krebsco.de";
|
# domain = "vpn.euer.krebsco.de";
|
||||||
domain = "gum.krebsco.de";
|
domain = "gum.krebsco.de";
|
||||||
dev = "tun0";
|
dev = "tun0";
|
||||||
port = 1194;
|
port = 1194;
|
||||||
tcp-port = 3306;
|
tcp-port = 3306;
|
||||||
in {
|
in {
|
||||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
|
Loading…
Reference in New Issue
Block a user