WireGuard: Difference between revisions
imported>Shivam543 m The wireguard config assigns IPv6 addresses but IPv6 wouldn't work without enabling IPv6 NAT. |
imported>Shivam543 |
||
| Line 134: | Line 134: | ||
networking.nat = { | networking.nat = { | ||
enable = true; | enable = true; | ||
externalInterface = "eth0"; | externalInterface = "eth0"; | ||
internalInterfaces = [ "wg0" ]; | internalInterfaces = [ "wg0" ]; | ||