Disable ipv6

This commit is contained in:
iFargle 2023-12-06 23:00:41 +09:00
parent cae25a4667
commit 40f47f2ad5
2 changed files with 1 additions and 1 deletions

View file

@ -2,6 +2,7 @@
# Enable networking with NetworkManager # Enable networking with NetworkManager
networking = { networking = {
enableIPv6 = false;
networkmanager = { networkmanager = {
enable = true; enable = true;
}; };

View file

@ -23,7 +23,6 @@
networking.firewall.extraCommands = '' networking.firewall.extraCommands = ''
iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.100.0.2 -j SNAT --to `:%s/\=
# TCP PORTS ################################################################################################## # TCP PORTS ##################################################################################################
# PORT 80 # PORT 80