ports/main/nnd-nft/nft/inet/nnd-base/table

60 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-10-28 08:52:58 +00:00
table inet nnd-base {
include "inet/nnd-base/sets/*";
2022-10-28 08:52:58 +00:00
chain rxfilter {
type filter hook input priority filter;
2022-11-01 13:23:37 +00:00
policy drop;
2022-10-28 08:52:58 +00:00
jump input;
2022-10-28 08:52:58 +00:00
counter reject with icmpx type admin-prohibited;
}
chain input {
include "inet/nnd-base/filter/input/*";
}
2022-10-28 08:52:58 +00:00
chain fwfilter {
type filter hook forward priority filter;
2022-11-01 13:23:37 +00:00
policy drop;
jump forward;
2022-10-28 08:52:58 +00:00
counter reject with icmpx type no-route;
}
chain forward {
include "inet/nnd-base/filter/forward/*";
}
2022-10-28 08:52:58 +00:00
chain txfilter {
type filter hook output priority filter;
2022-10-28 08:52:58 +00:00
policy accept;
jump output;
}
chain output {
2022-10-28 08:52:58 +00:00
include "inet/nnd-base/filter/output/*";
}
2022-10-28 08:52:58 +00:00
chain prenat {
type nat hook prerouting priority dstnat;
2022-10-28 08:52:58 +00:00
policy accept;
include "inet/nnd-base/nat/prerouting/*";
}
2022-10-28 08:52:58 +00:00
chain rxnat {
type nat hook input priority filter;
2022-10-28 08:52:58 +00:00
policy accept;
include "inet/nnd-base/nat/input/*";
}
2022-10-28 08:52:58 +00:00
chain txnat {
type nat hook output priority filter;
2022-10-28 08:52:58 +00:00
policy accept;
include "inet/nnd-base/nat/output/*";
}
2022-10-28 08:52:58 +00:00
chain postnat {
type nat hook postrouting priority srcnat;
2022-10-28 08:52:58 +00:00
policy accept;
include "inet/nnd-base/nat/postrouting/*";
}
}