Firewall: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
* {{MR|2042|pmbootstrap}}: add support for firewall | * {{MR|2042|pmbootstrap}}: add support for firewall | ||
* {{MR|2060|pmaports}}: postmarketos-firewall: add package for installing/configuring default fw | * {{MR|2060|pmaports}}: postmarketos-firewall: add package for installing/configuring default fw | ||
* {{ | * {{issue|100|build.postmarketos.org}}: build all main and community devices with firewall enabled |
Revision as of 12:46, 29 May 2021
Firewall is currently being implemented in pmbootstrap!2042 and pmaports!2060. This wiki page explains how it will be once both MRs are merged. |
New postmarketOS installations have nftables configured if the device's kernel has support for it.
Default rules
(explain default rules here)
Usage
(explain how to enable / disable it, explain -openusb)
Configuring the kernel to support nftables
- Run
pmbootstrap kconfig check --nftables kernel-name
to get a list of kernel config options that need to be changed - Fix them up with
pmbootstrap kconfig edit
- Add
pmb:kconfigcheck-nftables
tooptions=
in your kernel's APKBUILD - Create a test install with
pmbootstrap install
- Boot it and verify that the firewall works
- Create a merge request to pmaports.git with your changes
Once your changes are merged, pmbootstrap will enable the firewall by default for your device.
See also
- pmbootstrap!2042: add support for firewall
- pmaports!2060: postmarketos-firewall: add package for installing/configuring default fw
- build.postmarketos.org#100: build all main and community devices with firewall enabled