Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nftables]

nftables is a project providing packet filtering and packet classification on Linux

0
votes
0answers
43 views

Wrong behavior of nftables 0.9 in ubuntu 18.04 [closed]

In local machine (Ubuntu 18.04), I test a DNAT rule by using nft command and lxc. The machine has eth0 interface and in0test/out0test peer tap-interface. eth0 is mapped to public Ip (such as 222.123.x....
0
votes
1answer
35 views

Translate the source address of all packets leaving a particular interface with nftables

I am running Ubuntu Server 18-04 VM on Zorin host. I am wanting to translate the source address of all packets leaving via enp0s3 to 192.168.1.120 with nftables. This is what I have done: apt ...
0
votes
0answers
21 views

hostapd and nftables

I successfully installed hostapd and dnsmasq on my Ubuntu desktop with a PCI wifi card. Wifi clients can connect and get IP addresses with no problem but traffic to internet does not work. I use ...
0
votes
0answers
185 views

replace iptables with nftables

I am using ubuntu 16.04.4 LTS (latest). I want to move to nftables. How can I remove iptables and install nftables ?
0
votes
0answers
84 views

Able to ping through ubuntu NFT firewall both directions for thirty seconds, then blocked

I'm testing an ubuntu 17.10 NFT firewall before connecting to the internet. I have three ubuntu machines. A --> B --> C A is "internal network", B is router/firewall, C is "external" This is all ...
3
votes
3answers
4k views

Where to get nftables?

As far as I understand the kernel facility nftables exists in the kernel that comes with Ubuntu 14.04. As is proven by the following two commands: # grep -E '(NF_TABLES|NFT_)' /boot/config-$(uname -r)...