diff options
Diffstat (limited to 'modules/networking/upnp.nix')
| -rw-r--r-- | modules/networking/upnp.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/networking/upnp.nix b/modules/networking/upnp.nix new file mode 100644 index 0000000..998592a --- /dev/null +++ b/modules/networking/upnp.nix @@ -0,0 +1,12 @@ +{ + services.miniupnpd = { + enable = true; + natpmp = true; + externalInterface = "enp42s0"; + + internalIPs = [ + "enp42s0" + "wlan0" + ]; + }; +} |