Skip to content

Commit

Permalink
containers: fix internet not working inside container
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donovanglover committed Oct 11, 2024
1 parent a7fad6b commit d7f4e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ in
nat = mkIf mullvad {
enable = true;
internalInterfaces = [ "ve-+" ];
externalInterface = "wg-mullvad";
externalInterface = "wg0-mullvad";
};

firewall = {
Expand Down

0 comments on commit d7f4e3f

Please sign in to comment.