Mobian Firewall from iptables to nftables
#1
Hi,

my pinephone mobian CE is installed on emmc with FDE. The Mobian Doku tells me in the chapter "Firewall", that the current technology would be nftables.

I installed all available updates, but when I check the installed packages, my Mobian is still based on iptables.

# apt policy nftables
    Installed: (none)
    Candidate: 0.9.8-3

# apt policy iptables
    Installed: 1.8.7-1

I received my pinephone two weeks ago and used the installer as it came with.
Do I have to flash a newer Image to start with nftables instead of iptables?

As iptables is not configured jet.
# echo -e "\nIPv4:" && iptables -nvL && echo -e "\nIPv6:" && ip6tables -nvL && echo " "
  IPv4:
    Chain INPUT  (policy ACCEPT 0 packets, 0 bytes)
    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    Chain OUTPUT  (policy ACCEPT 0 packets, 0 bytes)
  IPv6:
    Chain INPUT  (policy ACCEPT 0 packets, 0 bytes)
    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    Chain OUTPUT  (policy ACCEPT 0 packets, 0 bytes)

I tried to replace it, but it seems to be impossible,-
# apt -s remove --purge  iptables
  The following packages will be REMOVED:
    iptables* mobian-base* mobian-phone-base* mobian-phosh-base* mobian-phosh-extras* mobian-phosh-phone*
  0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
as that whould remove the phones GUI as well.

In the moment it looks to me that I could just disable and mask iptables and install and enable nftables.

Did I miss some documentation? Any ideas are appreciated.

Keep well and fit,
MicSpabo
PinePhone - Mobian (bullseye) CE
  Reply


Messages In This Thread
Mobian Firewall from iptables to nftables - by MicSpabo - 02-22-2021, 05:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 17 2,101 Yesterday, 05:47 AM
Last Post: diederik
  Mobian repository status henrythemouse 16 8,803 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 136 03-18-2024, 08:54 PM
Last Post: penguins_rule
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 2,015 11-22-2023, 11:46 AM
Last Post: aLoop100o
  What actions needed to keep on mobian testing user641 3 1,838 09-05-2023, 06:44 AM
Last Post: Zebulon Walton
  Mobian boot failed with zstd message after upgrade. Mahgue 0 639 09-01-2023, 11:29 AM
Last Post: Mahgue
  how to update mobian over tor vusra 13 6,938 07-09-2023, 08:57 PM
Last Post: vusra
  opensnitch outbound firewall now works on mobian vusra 2 1,910 07-09-2023, 01:37 AM
Last Post: vusra
  Using Nativefier on PP64 with Mobian paulcarton 0 637 07-05-2023, 03:57 AM
Last Post: paulcarton
  Has anyone got briar-desktop running on mobian? vusra 5 3,037 06-19-2023, 03:02 PM
Last Post: vusra

Forum Jump:


Users browsing this thread: 1 Guest(s)