INT-firewall konfiguration

From Datateknik
Revision as of 14:58, 20 January 2020 by Imra (Talk | contribs)

Jump to: navigation, search

Nedanstående fungerar ej!

Gamla FirewallD

Detta är ett scripts som tar bort allt gammalt

 #!/usr/sbin/nft -f
 
 flush ruleset
 
 table inet filter {
   chain input { 
     type filter hook input priority 0;
     policy drop;
 }
 
   chain forward {
     type filter hook forward priority 0;
     policy drop;
 }
 
   chain output {
     type filter hook output priority 0;
     policy accept;
 }

KOLLA HUR DET BLEV

 nft list ruleset
Personal tools
Namespaces

Variants
Actions
Navigation
Tools