mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-13 14:28:12 +01:00
containers: fix internet not working inside container
The wg-mullvad interface was at some point renamed to wg0-mullvad. Note that in the future this method can be used to prevent certain containers from accessing the internet in a similar way.
This commit is contained in:
parent
a7fad6beb9
commit
d7f4e3fccc
@ -235,7 +235,7 @@ in
|
|||||||
nat = mkIf mullvad {
|
nat = mkIf mullvad {
|
||||||
enable = true;
|
enable = true;
|
||||||
internalInterfaces = [ "ve-+" ];
|
internalInterfaces = [ "ve-+" ];
|
||||||
externalInterface = "wg-mullvad";
|
externalInterface = "wg0-mullvad";
|
||||||
};
|
};
|
||||||
|
|
||||||
firewall = {
|
firewall = {
|
||||||
|
Loading…
Reference in New Issue
Block a user