• Iptables to Nftables

    Steps:

    1. To save the existing rules to a file, run below command:
    # iptables-save > rules.iptables
    2. Run the below command to generate the nft rules file with iptables rules file.
    # iptables-restore-translate -f rules.iptables > rules.nft
    3. Load the rules, make sure nftables service is running on the system.
    # nft -f rules.nft     ### load the rule via nft to nftables.
    4. To Display rule:
    # nft list ruleset

  • 0 comentários:

    Postar um comentário

    Need Help?

    Send me a message.

    ADDRESS

    World "Wild" Web

    EMAIL

    cristiancezarmoises@protonmail.com
    cristiancezarmoises@gmail.com

    TELEPHONE

    +0
    +1

    MOBILE

    +1,
    +0