liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ab304dd3f13db092c22d69702d5277feddeaa85f
parent 0d49f0f7a72cac25e23967ad9c61b07b556ea609
Author: Daniel Barlow <dan@telent.net>
Date:   Thu,  9 May 2024 00:04:21 +0100

bordervm enable nat

Diffstat:
Mbordervm-configuration.nix | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/bordervm-configuration.nix b/bordervm-configuration.nix @@ -133,6 +133,11 @@ in { useDHCP = false; ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24;}]; }; + nat = { + enable = true; + internalInterfaces = [ "eth1" ]; + externalInterface ="eth0"; + }; }; users.users.liminix = { isNormalUser = true;