|
|
195495 |
# Sample configuration snippet for nftables service.
|
|
|
195495 |
# Meant to be included by main.nft, not for direct use.
|
|
|
195495 |
|
|
|
195495 |
# a common table for both IPv4 and IPv6
|
|
|
195495 |
table inet nftables_svc {
|
|
|
195495 |
|
|
|
195495 |
# base-chain for traffic forwarded by this host
|
|
|
195495 |
# re-uses 'allow' chain from main.nft
|
|
|
195495 |
chain FORWARD {
|
|
|
195495 |
type filter hook forward priority filter + 20
|
|
|
195495 |
policy accept
|
|
|
195495 |
|
|
|
195495 |
jump allow
|
|
|
195495 |
reject with icmpx type host-unreachable
|
|
|
195495 |
}
|
|
|
195495 |
}
|