Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux_router:nftables [2025-01-04 Sat wk01 08:12] – [NFTables Configuration] baumkp | linux_router:nftables [2025-03-02 Sun wk09 15:31] (current) – [NFTables Configuration] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
=====NFTables Configuration===== | =====NFTables Configuration===== | ||
- | The best reference for nftables is at the dedicated wiki [[https:// | + | The best reference for nftables is at the dedicated wiki [[https:// |
After a lot of experimenting the following is my NFTables router configuration file. Create the following file called: " | After a lot of experimenting the following is my NFTables router configuration file. Create the following file called: " | ||
Line 294: | Line 294: | ||
Some key related commands: | Some key related commands: | ||
- | *To load a nft configuration file: '' | + | *To load a nft configuration file: '' |
+ | *Another option is to restart the nftables systemd service, '' | ||
+ | *To test the configuration after modification '' | ||
*The nftables configuration file can be made into an executable script as follows. | *The nftables configuration file can be made into an executable script as follows. | ||
*Add the following at the top of the file: | *Add the following at the top of the file: |