diff options
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index db1e47d..451389f 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1353,6 +1353,10 @@ EOD; $line .= "on \$" . $interface . " "; } + if($rule['returngateway'] <> "") { + $line .= "reply-to (" . $rule['returngateway'] . ") "; + } + if (isset($rule['protocol'])) { if($rule['protocol'] == "tcp/udp") $line .= "proto { tcp udp } "; |