Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

System and Network configuration • Wireguard on an ARM64 board with self compiled kernel, iptables hassles

$
0
0
Hi
I have a Pine Quartz64-a board with a self compiled kernel (known as the pgwipeout kernel) and a bookworm rootfs.
I'm using the pgwipeout kernel because it has some patches that (allegedly) can be used to enable the built in SATA port, which I would likely to use.
However right now I would like to use the board as a wireguard server.
Right off the bat I had some issues installing wireguard because it pulls in the vanilla Debian ARM64 kernel:-

Code:

$ aptitude why linux-image-6.1.0-18-rt-arm64i   wireguard            Depends  wireguard-modules (>= 0.0.20191219) | wireguard-dkms (>= 0.0.202                                  00121-2)                                                        i A linux-image-rt-arm64 Provides wireguard-modules                                               i A linux-image-rt-arm64 Depends  linux-image-6.1.0-18-rt-arm64 (= 6.1.76-1)
However I can ignore that because although the Debian kernel is installed, the pgwipeout one still boots. I just recompiled that kernel to include wireguard so I don't think it matters.

The problem I can't get round is that I can't run ufw commands to panipulate ip tables

Code:

# ufw statusERROR: Couldn't determine iptables version
These are the iptables packages that I currently have installed

Code:

# dpkg -l |grep tablesii  iptables                       1.8.9-2                        arm64        administration tools for packet filtering and NATii  libnftables1:arm64             1.0.6-2+deb12u2                arm64        Netfilter nftables high level userspace API libraryii  libnftnl11:arm64               1.2.4-2                        arm64        Netfilter nftables userspace API libraryii  libxtables12:arm64             1.8.9-2                        arm64        netfilter xtables libraryii  nftables                       1.0.6-2+deb12u2                arm64        Program to control packet filtering rules by Netfilter project
I feel that I must be missing some kernel option but I can't figure out which

Can anyone tell me what kernel config line I need for ufw to work please?

Here is my kernel config: https://termbin.com/1gjy

Statistics: Posted by dieselnutjob — 2024-05-16 20:57



Viewing all articles
Browse latest Browse all 2901

Trending Articles