Edit firewall config for wireguard
This commit is contained in:
parent
c3527ce8e8
commit
bf69e4701e
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@
|
|||
useDHCP = true; # VPS typically use DHCP
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 80 443 ]; # Only SSH by default
|
||||
allowedTCPPorts = [ 22 80 443 ]; # SSH, HTTP, HTTPS
|
||||
trustedInterfaces = [ "wg0" ]; # Allow all traffic through WireGuard interface
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue