Use snat rule instead if masquerade for wireguard nat
This commit is contained in:
parent
0d820c58af
commit
215065aa6c
3 changed files with 7 additions and 16 deletions
|
@ -8,7 +8,7 @@
|
|||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedUDPPorts = [ 51820 51821 51822 51827 51828 ];
|
||||
allowedUDPPorts = [ 51820 51821 51822 51824 51827 51828 51829 51830 ];
|
||||
};
|
||||
wireguard = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue