summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-04-11 12:46:30 +0000
committerErmal <eri@pfsense.org>2013-04-11 12:46:30 +0000
commit57f62cd8c0982277fbbf2c133e0249da9a34abc3 (patch)
tree7a2539ed852b2580f3d20507a6e32155be872440 /etc
parent6bd86189522c10de0f02e200a23faccf2dee4504 (diff)
downloadpfsense-57f62cd8c0982277fbbf2c133e0249da9a34abc3.zip
pfsense-57f62cd8c0982277fbbf2c133e0249da9a34abc3.tar.gz
Allow traffic initiated from host and without a default route to be sent to a gateway from policy routing.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 4b3aabc..b803abe 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1629,7 +1629,7 @@ function filter_nat_rules_generate() {
$tonathosts .= "{$config['ipsec']['client']['pool_address']}/{$config['ipsec']['client']['pool_netbits']} ";
}
$natrules .= "\n# Subnets to NAT \n";
- $tonathosts .= "127.0.0.0/8 ";
+ $tonathosts .= "127.0.0.0/8 0.0.0.0 ";
if($numberofnathosts > 4) {
$natrules .= "table <tonatsubnets> { {$tonathosts} }\n";
$macroortable = "<tonatsubnets>";
OpenPOWER on IntegriCloud