Disable ipv6
This commit is contained in:
parent
cae25a4667
commit
40f47f2ad5
2 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
# Enable networking with NetworkManager
|
# Enable networking with NetworkManager
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
enableIPv6 = false;
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue