Comments (3)
@kravietz the nat
table is currently being created as an ip
(ipv4-only) table.
It should be created as an inet
table (for both ipv4 and ipv6).
See:
$ cat templates/etc/nftables.conf.j2 | grep "table "
table inet filter {
table ip nat {
from nftables.
@nergdron The upcoming release will allow managing the nat
tables as well and in case of nftables
I don't think there's any separate flow to manage NAT for IPv4 and IPv6 - you need a prerouting
(DNAT) or postrouting
(SNAT) chains in nat
table, and then just add rules using ip
or ip6
keywords:
nft add rule inet nat prerouting dnat ip6 to feed::c0fe
from nftables.
Fixed in #58
from nftables.
Related Issues (20)
- Allow Merged Group Variables HOT 1
- Bridge support? HOT 1
- update_cache: true breaks nftables installation on Gentoo HOT 6
- Following update, rules no longer load HOT 2
- DNS names in rules / dumping with -n
- Include other files directly HOT 1
- nft_merged_groups and "Error: not found"
- Enabling the nftables service on notification prevents idempotency HOT 2
- The role stalls when handling the nftables service on rhel 8
- Location of nftables.service unit file
- Should we manage `nftables.service` at all? Task "Install nftables Debian systemd service unit" HOT 5
- On Archlinux, iptables can't be removed HOT 1
- Issue new tag HOT 2
- Add RFC 9288 rules
- Mistakenly pushed branch HOT 1
- repository update can't be disabled, causing a problem on systems without internet connection
- Async does not support check_mode HOT 1
- Recent versions seem to demand recent kernel/nftables for NAT
- Template has variable problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nftables.