mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Only workaround RFC959 on optional interfaces if a gateway is set
This commit is contained in:
parent
a27baeecf0
commit
4fd77a143a
@ -1521,7 +1521,8 @@ EOD;
|
||||
$optcfg = array();
|
||||
generate_optcfg_array($optcfg);
|
||||
foreach($optcfg as $oc) {
|
||||
$ipfrules .= "pass in quick on {$oc['if']} inet proto tcp from any to ({$oc['if']}) port > 49000 user proxy flags S/SA keep state label \"FTP PROXY: RFC959 violation workaround\" \n";
|
||||
if($oc['gateway'] <> "")
|
||||
$ipfrules .= "pass in quick on {$oc['if']} inet proto tcp from any to ({$oc['if']}) port > 49000 user proxy flags S/SA keep state label \"FTP PROXY: RFC959 violation workaround\" \n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user