Article 6D2HN iptables to nftables

iptables to nftables

by
Jason.nix
from LinuxQuestions.org on (#6D2HN)
Hello,
I'm a beginner in the nftables and I want to know how can I rewrite the following iptables rules in nftables:
Code:# iptables -A FORWARD -o eth0 -i vboxnet0 -s 192.168.56.0/24 -m conntrack --ctstate NEW -j ACCEPT
# iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments