Compare commits
No commits in common. "d3c201d200518ee04f40e612a7217f0574315df4" and "e1732d12cf14bb4b5e5a9dc499afc0df29538647" have entirely different histories.
d3c201d200
...
e1732d12cf
|
@ -44,6 +44,9 @@
|
|||
138 # Samba
|
||||
1194 # Wireguard
|
||||
];
|
||||
extraCommands = ''
|
||||
iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -o eth0 -j MASQUERADE
|
||||
'';
|
||||
};
|
||||
|
||||
# Enable NAT for wireguard
|
||||
|
@ -62,9 +65,16 @@
|
|||
peers = [
|
||||
# Amin
|
||||
{
|
||||
# Placeholder public key
|
||||
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
|
||||
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