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 65 23,446 07-12-2025, 07:46 AM
Last Post: anonymous
  cryptocurrency on mobian/pinephone biketool 33 50,291 06-30-2025, 02:57 PM
Last Post: biketool
  XLibre for Mobian Hiraghm 1 265 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 243,709 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 178 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 361 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 738 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 809 04-29-2025, 02:10 PM
Last Post: mdk
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 892 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 1 774 01-02-2025, 12:47 PM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)