diff options
author | Ermal <eri@pfsense.org> | 2011-01-24 22:48:04 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-01-24 22:48:25 +0000 |
commit | a1d52f81879fc1f2253eeef5189adfa2e6396c11 (patch) | |
tree | 5b8c9ced64cd6e16b7a296b7a342bb76fa558794 /etc/inc | |
parent | 261c7de869eccca07c7d3f5ff331d28f88b2fde0 (diff) | |
download | pfsense-a1d52f81879fc1f2253eeef5189adfa2e6396c11.zip pfsense-a1d52f81879fc1f2253eeef5189adfa2e6396c11.tar.gz |
Resolves #1216. Do not create nat entries on ovpn interfaces.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index e268a64..c640edc 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1347,6 +1347,8 @@ function filter_nat_rules_generate() { } if($numberofnathosts > 0): foreach ($FilterIflist as $if => $ifcfg) { + if (substr($ifcfg['if'], 0, 4) == "ovpn") + continue; update_filter_reload_status("Creating outbound rules {$if} - ({$ifcfg['descr']})"); if(interface_has_gateway($if)) { $target = $ifcfg['ip']; |