fix network problems with containers
This commit is contained in:
parent
1d8ba8619a
commit
6fd3b5f26e
3 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ in {
|
||||||
# give containers internet access
|
# give containers internet access
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
networking.nat.internalInterfaces = [ "ve-mattermost" ];
|
networking.nat.internalInterfaces = [ "ve-mattermost" ];
|
||||||
networking.nat.externalInterface = "eth0";
|
networking.nat.externalInterface = "enp2s0f1";
|
||||||
|
|
||||||
# don't let networkmanager manger container network
|
# don't let networkmanager manger container network
|
||||||
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||||
|
|
|
@ -190,7 +190,7 @@ in {
|
||||||
# give containers internet access
|
# give containers internet access
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
networking.nat.internalInterfaces = [ "ve-nextcloud" ];
|
networking.nat.internalInterfaces = [ "ve-nextcloud" ];
|
||||||
networking.nat.externalInterface = "eth0";
|
networking.nat.externalInterface = "enp2s0f1";
|
||||||
|
|
||||||
# don't let networkmanager manger container network
|
# don't let networkmanager manger container network
|
||||||
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||||
|
|
|
@ -214,7 +214,7 @@ in {
|
||||||
# give containers internet access
|
# give containers internet access
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
networking.nat.internalInterfaces = [ "ve-torrent" ];
|
networking.nat.internalInterfaces = [ "ve-torrent" ];
|
||||||
networking.nat.externalInterface = "eth0";
|
networking.nat.externalInterface = "enp2s0f1";
|
||||||
|
|
||||||
# open ports for logging
|
# open ports for logging
|
||||||
networking.firewall.interfaces."ve-torrent".allowedTCPPorts =
|
networking.firewall.interfaces."ve-torrent".allowedTCPPorts =
|
||||||
|
|
Loading…
Reference in a new issue