This commit is contained in:
parent
6d602fe013
commit
27086b2cdf
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@
|
||||||
|
|
||||||
nat = {
|
nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
internalInterfaces = [ "wireguard0" ];
|
internalInterfaces = [ "enp0s4" ];
|
||||||
externalInterface = "enp0s4";
|
externalInterface = "wireguard0";
|
||||||
forwardPorts = [
|
forwardPorts = [
|
||||||
{ destination = "10.100.0.2:80"; proto = "tcp"; sourcePort = 80; } # HTTP
|
{ destination = "10.100.0.2:80"; proto = "tcp"; sourcePort = 80; } # HTTP
|
||||||
{ destination = "10.100.0.2:443"; proto = "tcp"; sourcePort = 443; } # HTTPS
|
{ destination = "10.100.0.2:443"; proto = "tcp"; sourcePort = 443; } # HTTPS
|
||||||
|
|
Loading…
Reference in a new issue