Created
March 29, 2020 23:59
-
-
Save Dirbaio/81c8e7c4b520733cd4029bba2da74fe7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This works... | |
set forwarded { | |
type ipv4_addr | |
flags dynamic,timeout | |
timeout 1h | |
} | |
chain FORWARD { | |
type filter hook forward priority filter | |
policy accept | |
update @forwarded { ip saddr counter } counter | |
} | |
... but this does NOT work | |
set forwarded { | |
type ipv4_addr | |
flags dynamic | |
} | |
chain FORWARD { | |
type filter hook forward priority filter | |
policy accept | |
update @forwarded { ip saddr counter } counter | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment