Skip to content

Commit

Permalink
filter - automatic outbound nat rules missing IPsec mobile clients. c…
Browse files Browse the repository at this point in the history
…loses #4948

(cherry picked from commit 5e5e2ad)
  • Loading branch information
AdSchellevis authored and fichtner committed May 26, 2021
1 parent c0781f7 commit ca3d33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/filter.lib.inc
Expand Up @@ -195,7 +195,7 @@ function filter_core_get_default_nat_outbound_networks()
}
// Add ipsec network pool if specified
if (!empty($config['ipsec']['client']['pool_address']) && !empty($config['ipsec']['client']['pool_netbits'])) {
$tonathosts[] = "{$config['ipsec']['client']['pool_address']}/{$config['ipsec']['client']['pool_netbits']}";
$result[] = "{$config['ipsec']['client']['pool_address']}/{$config['ipsec']['client']['pool_netbits']}";
}

return $result;
Expand Down

0 comments on commit ca3d33f

Please sign in to comment.