aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awall/modules/filter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awall/modules/filter.lua b/awall/modules/filter.lua
index 2d69650..ffee4a9 100644
--- a/awall/modules/filter.lua
+++ b/awall/modules/filter.lua
@@ -111,7 +111,7 @@ function Filter:trules()
self:error(self.dnat..' does not resolve to any IPv4 address')
end
- extrarules('dnat', {['ip-range']=dnataddr, out=nil})
+ extrarules('dnat', {['to-addr']=dnataddr, out=nil})
end
if self.action == 'tarpit' or self['no-track'] then