Try disabling firewall
This commit is contained in:
parent
cb2ac4c8da
commit
00aafb2ad9
|
@ -3,7 +3,7 @@
|
||||||
containers.test = {
|
containers.test = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
hostAddress = "192.168.100.10";
|
hostAddress = "10.175.197.82";
|
||||||
localAddress = "192.168.100.11";
|
localAddress = "192.168.100.11";
|
||||||
config = { config, pkgs, ... }: {
|
config = { config, pkgs, ... }: {
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
|
@ -27,16 +27,19 @@
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
networking.wireguard.interfaces = {
|
networking.wireguard.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
ips = [ "10.175.197.82/32" "fd7d:76ee:e68f:a993:f6b2:9dab:ddd3:a02/128" ];
|
ips = [ "10.175.197.82/32" "fd7d:76ee:e68f:a993:f6b2:9dab:ddd3:a02/128" ];
|
||||||
privateKeyFile = "/run/secrets/services/wireguard/airvpn.private";
|
privateKeyFile = "/run/secrets/services/wireguard/airvpn.private";
|
||||||
|
|
||||||
|
allowedIPsAsRoutes = false;
|
||||||
peers = [
|
peers = [
|
||||||
{
|
{
|
||||||
publicKey = "PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk=";
|
publicKey = "PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk=";
|
||||||
presharedKeyFile = "/run/secrets/services/wireguard/airvpn.psk";
|
presharedKeyFile = "/run/secrets/services/wireguard/airvpn.psk";
|
||||||
allowedIPs = [ "10.128.0.1" ];
|
allowedIPs = [ "0.0.0.0/0" ];
|
||||||
endpoint = "134.19.179.213:1637";
|
endpoint = "134.19.179.213:1637";
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue