Best iptables rules for new users?

Im new to linux and i tried parrot os, i kinda fall in love with it.

But i have one question.
What iptables rules i should use for security?

Default iptables rules in the parrot security or this iptables settings in this guide ?

Kind regards.

Update: kinda lost access to the internet after setting up the iptable like this guide, can someone post the default iptable for parrot security ?

Hey there…

After installing the iptables, you have to open HTTP and HTTPS ports

First of all lets add all ACCEPT policies starting by the web server.

iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j ACCEPT

have a look at the rules that you add : run iptables -L

Thanks man, thats fixed the internet issue.

But should i use the default iptable that comes with parrot security edition, or the custom one in the link above ?

it is up to you kaka…
Parrot’s iptables should be secure