Revision 94fbb7a9
Added by Scott Ullrich almost 20 years ago
usr/local/www/firewall_nat_out.php | ||
---|---|---|
106 | 106 |
$config['interfaces'][$if]['subnet']); |
107 | 107 |
$natent['source']['network'] = $osn; |
108 | 108 |
$natent['sourceport'] = ""; |
109 |
$natent['descr'] = "Auto created rule for {$config[$if]['descr']}"; |
|
109 |
$natent['descr'] = "Auto created rule for {$config['interfaces'][$if]['descr']}";
|
|
110 | 110 |
$natent['target'] = ""; |
111 | 111 |
$natent['interface'] = "wan"; |
112 | 112 |
$natent['destination']['any'] = true; |
Also available in: Unified diff
Woops, use the complete xml path.