Nftables Router Tutorial

From Alteeve Wiki
Revision as of 01:05, 28 March 2024 by Digimer (talk | contribs)
Jump to navigation Jump to search

 AN!Wiki :: How To :: Nftables Router Tutorial

Warning: This is incomplete and untrustworthy! Do not expect anything to be useful or accurate before this warning is removed.

This tutorial is meant to show how to use nftables to build a router suitable for a home or boat.

Setup

Make sure that ip_forward is enabled in the kernel.

cat /proc/sys/net/ipv4/ip_forward
0

This shows that it's disabled. To enable it, write "1" to that virtual file

echo 1 > /proc/sys/net/ipv4/ip_forward
cat /proc/sys/net/ipv4/ip_forward
1


References

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.