sunknudsen / privacy-guides

Privacy guides reference material (archived)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use of NFTables instead of IPTables (Step 18: configure firewall)

gspannu opened this issue · comments

Guide

How to self-host hardened strongSwan IKEv2/IPsec VPN server for iOS and macOS

Summary

I am trying to avoid using IPTables and have switched over to nftables.

Could you provide the equivalent nftables commands (along with the iptables) for Step 18.

I have tried using the auto-translate feature of nftables to convert the iptables commands to nftables syntax... but it does not translate all the commands.

Thanks..

Hey @gspannu, I agree one should use nftables (most other guides do) but if I remember my previous attempts correctly, it isn’t straightforward in the context of specific ruleset.

Guide has been deprecated given I am no longer using it myself… that said, open to peer reviewed pull request if you know how to switch firewall to nftables.