Netfilter and iptables extension for FULLCONENAT target ported to OpenWrt 21.02.
# cd to OpenWrt source path
# Download kernel patch to target/linux/generic/hack-5.4/
wget -P target/linux/generic/hack-5.4/ https://github.com/Paull/openwrt-fullconenat/raw/master/files/952-net-conntrack-events-support-multiple-registrant.patch
# Download firewall3 patch to package/network/config/firewall/patches/
mkdir package/network/config/firewall/patches
wget -P package/network/config/firewall/patches/ https://github.com/Paull/openwrt-fullconenat/raw/master/files/fullconenat-fw3.patch
# Clone this repo
git clone -b master --single-branch https://github.com/Paull/openwrt-fullconenat package/fullconenat
# Select Network -> Firewall -> iptables-mod-fullconenat
make menuconfig
# Compile
make V=s
- fullconenat module for iptables is from Chion82, I'v tested and it's compatible from kernel 4.14 to 5.4
- firewall3 patch for kernel 5.4 is modified from LGA1150's patch
- kernel patch for kernel 5.4 is from coolsnowwolf/lede