~
This commit is contained in:
parent
0b31d7b83e
commit
17cc74c69c
2 changed files with 9 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
# DHCP = "ipv4";
|
||||
# networkConfig.IPMasquerade = "ipv4";
|
||||
# };
|
||||
"10-enp2s0" = {
|
||||
"05-enp2s0" = {
|
||||
name = "enp2s0";
|
||||
address = [ "192.168.2.1/24" ];
|
||||
networkConfig.DHCPServer = "yes";
|
||||
|
@ -29,7 +29,13 @@
|
|||
content = ''
|
||||
chain postrouting {
|
||||
type nat hook postrouting priority 100;
|
||||
ip saddr 192.168.2.0/24 masquerade
|
||||
ip saddr 192.168.2.0/24 ip daddr != {
|
||||
10.10.10.0/24,
|
||||
10.42.0.0/16,
|
||||
192.168.122.0/24,
|
||||
192.168.1.0/24,
|
||||
100.80.0.0/16,
|
||||
} masquerade
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
libnotify
|
||||
zathura
|
||||
vlc
|
||||
prismlauncher
|
||||
|
||||
discord
|
||||
signal-desktop
|
||||
|
|
Loading…
Add table
Reference in a new issue