summaryrefslogtreecommitdiff
path: root/phenex
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2020-01-16 19:03:34 -0700
committerKenny Ballou <kballou@devnulllabs.io>2020-01-16 19:03:34 -0700
commitde569449f8bfae38a49a3c5822f626fee3283fe4 (patch)
treed184fc0c5f35b95d0212f652b77c4c80d811ed77 /phenex
parentb2ead5f17a80788ed7714b3f3d749ec6dd139592 (diff)
downloadcfg.nix-de569449f8bfae38a49a3c5822f626fee3283fe4.tar.gz
cfg.nix-de569449f8bfae38a49a3c5822f626fee3283fe4.tar.xz
phenex: nft: fix error in forward rules
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'phenex')
-rw-r--r--phenex/nftables-rules.nft4
1 files changed, 2 insertions, 2 deletions
diff --git a/phenex/nftables-rules.nft b/phenex/nftables-rules.nft
index 9b75370..797f164 100644
--- a/phenex/nftables-rules.nft
+++ b/phenex/nftables-rules.nft
@@ -18,11 +18,11 @@ table inet filter {
chain forward {
type filter hook forward priority 0; policy drop;
ct state established,related counter accept
- ip saddr 172.16.0.0/12 daddr 0.0.0.0/8 counter accept
+ ip saddr 172.16.0.0/12 ip daddr 0.0.0.0/8 counter accept
ip saddr 172.16.0.0/12 ip daddr 172.16.0.0/12 counter accept
iifname "docker0" oifname "enp0s25" counter accept
iifname "docker0" oifname "wlp2s0" counter accept
- iifname docker0 oifname != docker0 counter accept
+ iifname "docker0" oifname != "docker0" counter accept
counter
}