Firewall: Difference between revisions
Add a section on how to configure the nftables firewall with more fine-grained rules than just 'allowed ports'. |
m Fix a typo that I missed on the preview. |
||
| Line 58: | Line 58: | ||
</nowiki>}} | </nowiki>}} | ||
This will add the two specified rules to the <code>input-allow</code> chain in the <code>nixos-fw</code> table. You should of, | This will add the two specified rules to the <code>input-allow</code> chain in the <code>nixos-fw</code> table. You should, of course, replace the port and subnets with your own. | ||
== Tips and tricks == | == Tips and tricks == | ||