sunknudsen / privacy-guides

Privacy guides reference material (archived)
MIT License
770 stars 90 forks source link

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

Closed gspannu closed 2 years ago

gspannu commented 2 years ago

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..

sunknudsen commented 2 years ago

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.