PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. Martin PLCnext Team
  2. PLCnext Technology & PLCnext Controls
  3. Tuesday, 02 January 2018

I'm trying to set up nftables to masquerade source addresses on the AXC F 2152.

I am able to add the nat table, and also the postrouting chain, to the nft configuration. However I cannot get anything like the following command to work:

nft add rule nat postrouting masquerade

In all cases I've tried, I get the following:

Error: Could not process rule: No such file or directory

What am I doing wrong?

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support

Accepted Answer
Vincent PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hi Martin,

 

Just for reference to others, as you know the answer already :)

 

The current kernel doesn't include NFT_CHAIN_NAT_IPV4 (and 6) module, hence no NAT features are available at this moment. Hopefully it will be included somewhere in the coming releases.

 

Phoenix Contact Netherlands - Technical Consultant



There are replies in this post but you are not allowed to view the replies from this post.