diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-15 19:18:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-15 19:18:13 +0000 |
commit | f38dea081471248addbd737f1cabd7975594fd9e (patch) | |
tree | e930f607b877ee34278cc8297b6992637d0d17fd /etc | |
parent | ade51705571c70b5c066dbe7751c179bc81c4c49 (diff) | |
download | pfsense-f38dea081471248addbd737f1cabd7975594fd9e.zip pfsense-f38dea081471248addbd737f1cabd7975594fd9e.tar.gz |
Add reply-to (aka return gateway) rule support for multiple WAN support.
And the crowd goes nuts!
Diffstat (limited to 'etc')
-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 } "; |