Compare commits
2 Commits
e1732d12cf
...
d3c201d200
Author | SHA1 | Date |
---|---|---|
coolneng | d3c201d200 | |
coolneng | 03783c6017 |
|
@ -44,9 +44,6 @@
|
||||||
138 # Samba
|
138 # Samba
|
||||||
1194 # Wireguard
|
1194 # Wireguard
|
||||||
];
|
];
|
||||||
extraCommands = ''
|
|
||||||
iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -o eth0 -j MASQUERADE
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable NAT for wireguard
|
# Enable NAT for wireguard
|
||||||
|
@ -65,16 +62,9 @@
|
||||||
peers = [
|
peers = [
|
||||||
# Amin
|
# Amin
|
||||||
{
|
{
|
||||||
# Placeholder public key
|
|
||||||
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
|
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
|
||||||
allowedIPs = [ "10.9.0.2/32" ];
|
allowedIPs = [ "10.9.0.2/32" ];
|
||||||
}
|
}
|
||||||
# Fernando
|
|
||||||
{
|
|
||||||
# Placeholder public key
|
|
||||||
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
|
|
||||||
allowedIPs = [ "10.9.0.3/32" ];
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue