Jump to content

Firejail: Difference between revisions

190 bytes added ,  12 March 2023
Update Tor instructions
imported>Onny
mNo edit summary
imported>Onny
(Update Tor instructions)
Line 72: Line 72:


networking = {
networking = {
  useNetworkd = true;
   bridges."tornet".interfaces = [];
   bridges."tornet".interfaces = [];
  interfaces.tornet.ipv4.addresses = [{
    address = "10.100.100.1";
    prefixLength = 24;
  }];
   nftables = {
   nftables = {
     enable = true;
     enable = true;
Line 105: Line 102:
       allowedUDPPorts = [ 5353 ];
       allowedUDPPorts = [ 5353 ];
     };
     };
  };
};
systemd.network = {
  enable = true;
  networks.tornet = {
    matchConfig.Name = "tornet";
    DHCP = "no";
    networkConfig = {
      ConfigureWithoutCarrier = true;
      Address = "10.100.100.1/24";
    };
    linkConfig.ActivationPolicy = "always-up";
   };
   };
};
};
Anonymous user