1 2 3 4 5 6 7 8 9 10
#!/usr/sbin/nft -f # vim: set ts=4 sw=4: table inet filter { chain my_filter { tcp dport { http, https } accept \ comment "Accept HTTP traffic" } }